diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-01-08 13:26:09 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-01-08 13:26:09 +0100 |
commit | b8d5fc86a5f549cfb42736c8889fa548e6b6f661 (patch) | |
tree | 8f44aec34d05f5508cd512f67bdbac86a895dfaa /build.gradle | |
parent | f6fccf8f83b5d5fbb523737d6a67d1a90e4e9975 (diff) | |
download | pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.tar.gz pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.tar.bz2 pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.zip |
Gradle scripts update
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 5299814e..eee61162 100644 --- a/build.gradle +++ b/build.gradle @@ -124,6 +124,26 @@ subprojects { snapshotRepository(url: project.snapshotRepoUrl) } } + + task(internalRelease) << { + } + + internalRelease.dependsOn jar + internalRelease.dependsOn sourcesJar + + gradle.taskGraph.whenReady {taskGraph -> + //if (taskGraph.hasTask(release)) { + // version = '1.0' + //} else { + // version = '1.0-SNAPSHOT' + //} + } + + //doFullRelease jar war distZip distTar releases sourcesJar uploadArchives +} + +task(doFullRelease) << { + println "done building all distribution stuff for " + project.version } task releases(type: Copy) { |