force the subprojects (in particular openpgp-api-lib)
This commit is contained in:
parent
65b14c1a64
commit
0e255430a5
1 changed files with 15 additions and 0 deletions
15
build.gradle
15
build.gradle
|
@ -18,3 +18,18 @@ allprojects {
|
||||||
mavenCentral()
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue