Created
June 12, 2017 08:40
-
-
Save matnogaj/73c8afc6d4c330a6c2276f78a43292b4 to your computer and use it in GitHub Desktop.
build.gradle fix for different sdk versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allprojects { project -> | |
afterEvaluate { | |
if((project.plugins.hasPlugin('android') || project.plugins.hasPlugin('android-library'))) { | |
android { | |
compileSdkVersion myCompileSdkVersion as Integer | |
buildToolsVersion myBuildToolsVersion | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment