no need to set versions globally as we've got no sub project
This commit is contained in:
parent
961b4a772a
commit
fafbfda0d8
1 changed files with 0 additions and 15 deletions
15
build.gradle
15
build.gradle
|
@ -19,18 +19,3 @@ allprojects {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
|
||||||
compileSdkVersion = 25
|
|
||||||
buildToolsVersion = "25.0.2"
|
|
||||||
}
|
|
||||||
subprojects { subproject ->
|
|
||||||
afterEvaluate{
|
|
||||||
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
|
||||||
android {
|
|
||||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
||||||
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue