force the subprojects (in particular openpgp-api-lib)

This commit is contained in:
Mohamed Zenadi 2015-01-06 23:52:17 +01:00
parent 65b14c1a64
commit 0e255430a5

View file

@ -18,3 +18,18 @@ allprojects {
mavenCentral()
}
}
ext {
compileSdkVersion = 21
buildToolsVersion = "21.1.2"
}
subprojects { subproject ->
afterEvaluate{
if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
}
}
}