diff options
author | Michael <betheg@bitcloner.org> | 2014-11-22 19:53:37 +0100 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-11-22 19:53:37 +0100 |
commit | 868d9f890cd6c0da9d2fcbc030fb099db6585f55 (patch) | |
tree | 2cfb12b899ccb3cccddd5ae75d179fc49a2439d0 /libs/minidns/build.gradle | |
parent | 49403fda8410315b34677ebfa2e29f59a61f76bd (diff) |
update android gradle plugin to 0.14.4
to work with AS >= 0.9.0 plugin >= 0.14.0 is required
also update gradle to 2.2.
Diffstat (limited to '')
-rw-r--r-- | libs/minidns/build.gradle | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/minidns/build.gradle b/libs/minidns/build.gradle index 5941beaf..c9b93467 100644 --- a/libs/minidns/build.gradle +++ b/libs/minidns/build.gradle @@ -19,7 +19,10 @@ group = 'de.measite.minidns' description = "A minimal DNS client library with support for A, AAAA, NS and SRV records" sourceCompatibility = 1.7 version = 'git tag --points-at HEAD'.execute().text.trim() -isSNAPSHOT = 'git rev-parse --abbrev-ref HEAD'.execute().text.trim() == 'master' + +ext { + isSNAPSHOT = 'git rev-parse --abbrev-ref HEAD'.execute().text.trim() == 'master' +} if (isSNAPSHOT) { version = version + '-SNAPSHOT' @@ -74,4 +77,4 @@ modifyPom { } dependencies { -}
\ No newline at end of file +} |