aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle20
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) {