no need to set versions globally as we've got no sub project

This commit is contained in:
Mohamed Zenadi 2017-07-25 14:51:30 +01:00
parent 961b4a772a
commit fafbfda0d8

View file

@ -19,18 +19,3 @@ allprojects {
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
}
}
}
}