diff options
author | Mohamed Zenadi <mohamed@zenadi.com> | 2015-01-06 23:52:17 +0100 |
---|---|---|
committer | Mohamed Zenadi <mohamed@zenadi.com> | 2015-01-06 23:52:17 +0100 |
commit | 0e255430a5c66e7ecfd0c03f4d0985b54054bec6 (patch) | |
tree | 0c2f01e11c68aff83b3010963c8a5be0d6588794 | |
parent | 65b14c1a6456f4109665b744b86ba4afd54623cc (diff) |
force the subprojects (in particular openpgp-api-lib)
-rw-r--r-- | build.gradle | 15 |
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 |