diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-11-01 13:51:05 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-11-01 13:51:05 +0100 |
commit | a0f694ea44b9d68390846b48d720f9a37fd679b8 (patch) | |
tree | 38ee04006e38197fd8009697b8975007ec0f45c8 /libs/minidns/build.gradle | |
parent | 142384e5805d93887d185c9a5b74d4850e4ec719 (diff) | |
parent | 46f147a82c6b161e071f717c7686f8b78a20aaf1 (diff) |
Merge pull request #600 from SamWhited/gradle
Build system and library changes (Gradle / Subtree merging)
Diffstat (limited to 'libs/minidns/build.gradle')
m--------- | libs/minidns | 6 | ||||
-rw-r--r-- | libs/minidns/build.gradle | 77 |
2 files changed, 77 insertions, 6 deletions
diff --git a/libs/minidns b/libs/minidns deleted file mode 160000 -Subproject 152be6eb1a22da8cebe24ac4ee05b487936c9f2 diff --git a/libs/minidns/build.gradle b/libs/minidns/build.gradle new file mode 100644 index 00000000..5941beaf --- /dev/null +++ b/libs/minidns/build.gradle @@ -0,0 +1,77 @@ +apply plugin: 'java' +apply plugin: 'eclipse' +apply plugin: 'osgi' +apply plugin: 'nexus' + +buildscript { + repositories { + jcenter() + mavenLocal() + mavenCentral() + } + + dependencies { + classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1' + } +} + +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' + +if (isSNAPSHOT) { + version = version + '-SNAPSHOT' +} + +repositories { + mavenLocal() + mavenCentral() +} + +nexus { + attachSources = true + attachTests = false + attachJavadoc = true + sign = true +} + +modifyPom { + project { + name 'minidns' + description 'Minimal DNS library for java and android systems' + url 'https://github.com/rtreffer/minidns' + inceptionYear '2014' + + scm { + url 'https://github.com/rtreffer/minidns' + connection 'scm:https://github.com/rtreffer/minidns' + developerConnection 'scm:git://github.com/rtreffer/minidns.git' + } + + licenses { + license { + name 'The Apache Software License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + distribution 'repo' + } + } + + developers { + developer { + id 'rtreffer' + name 'Rene Treffer' + email 'treffer@measite.de' + } + developer { + id 'flow' + name 'Florian Schmaus' + email 'flow@geekplace.eu' + } + } + } +} + +dependencies { +}
\ No newline at end of file |