aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2015-01-06 23:52:17 +0100
committerMohamed Zenadi <mohamed@zenadi.com>2015-01-06 23:52:17 +0100
commit0e255430a5c66e7ecfd0c03f4d0985b54054bec6 (patch)
tree0c2f01e11c68aff83b3010963c8a5be0d6588794 /build.gradle
parent65b14c1a6456f4109665b744b86ba4afd54623cc (diff)
force the subprojects (in particular openpgp-api-lib)
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index a1ab2b09..cca0569e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
+ }
+ }
+ }
+} \ No newline at end of file