aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle20
-rw-r--r--pdf-as-cli/build.gradle2
-rw-r--r--pdf-as-common/build.gradle3
-rw-r--r--pdf-as-legacy/build.gradle3
-rw-r--r--pdf-as-lib/build.gradle1
-rw-r--r--pdf-as-moa/build.gradle3
-rw-r--r--pdf-as-pdfbox/build.gradle3
-rw-r--r--pdf-as-web-db/build.gradle1
-rw-r--r--pdf-as-web-status/build.gradle1
-rw-r--r--pdf-as-web/build.gradle3
-rw-r--r--signature-standards/sigs-pades/build.gradle3
-rw-r--r--signature-standards/sigs-pkcs7detached/build.gradle3
12 files changed, 46 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) {
diff --git a/pdf-as-cli/build.gradle b/pdf-as-cli/build.gradle
index f7751370..8cc9ef0f 100644
--- a/pdf-as-cli/build.gradle
+++ b/pdf-as-cli/build.gradle
@@ -15,6 +15,8 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
releases.dependsOn distZip
releases.dependsOn distTar
diff --git a/pdf-as-common/build.gradle b/pdf-as-common/build.gradle
index c1ca700f..709bc3ee 100644
--- a/pdf-as-common/build.gradle
+++ b/pdf-as-common/build.gradle
@@ -16,6 +16,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
diff --git a/pdf-as-legacy/build.gradle b/pdf-as-legacy/build.gradle
index dd24033f..e82c265f 100644
--- a/pdf-as-legacy/build.gradle
+++ b/pdf-as-legacy/build.gradle
@@ -29,6 +29,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
/*javadoc {
appName = 'PDF-AS-4 Legacy Library'
exclude = '/**'
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
index aa99f9aa..5c436c1d 100644
--- a/pdf-as-lib/build.gradle
+++ b/pdf-as-lib/build.gradle
@@ -109,6 +109,7 @@ task releases(type: Copy) {
}
releases.dependsOn jar
+releases.dependsOn sourcesJar
releases.dependsOn distZip
releases.dependsOn distTar
diff --git a/pdf-as-moa/build.gradle b/pdf-as-moa/build.gradle
index e154b7a4..7d741f9f 100644
--- a/pdf-as-moa/build.gradle
+++ b/pdf-as-moa/build.gradle
@@ -81,6 +81,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
test {
systemProperties 'property': 'value'
}
diff --git a/pdf-as-pdfbox/build.gradle b/pdf-as-pdfbox/build.gradle
index e680af8e..e76d7041 100644
--- a/pdf-as-pdfbox/build.gradle
+++ b/pdf-as-pdfbox/build.gradle
@@ -16,6 +16,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
dependencies {
compile project (':pdf-as-lib')
compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
diff --git a/pdf-as-web-db/build.gradle b/pdf-as-web-db/build.gradle
index 6d87f82b..0fc400e5 100644
--- a/pdf-as-web-db/build.gradle
+++ b/pdf-as-web-db/build.gradle
@@ -31,5 +31,6 @@ task releases(type: Copy) {
}
releases.dependsOn jar
+releases.dependsOn sourcesJar
releases.dependsOn distZip
releases.dependsOn distTar
diff --git a/pdf-as-web-status/build.gradle b/pdf-as-web-status/build.gradle
index 710f04e4..e856ea1f 100644
--- a/pdf-as-web-status/build.gradle
+++ b/pdf-as-web-status/build.gradle
@@ -35,5 +35,6 @@ task releases(type: Copy) {
}
releases.dependsOn jar
+releases.dependsOn sourcesJar
releases.dependsOn distZip
releases.dependsOn distTar
diff --git a/pdf-as-web/build.gradle b/pdf-as-web/build.gradle
index 2dbd7188..908a8d41 100644
--- a/pdf-as-web/build.gradle
+++ b/pdf-as-web/build.gradle
@@ -178,5 +178,8 @@ task releaseConfig(type: Copy) {
into rootDir.toString() + "/releases/" + version + "/cfg"
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+releases.dependsOn war
releases.dependsOn releaseConfig
releases.dependsOn buildTomcatTar
diff --git a/signature-standards/sigs-pades/build.gradle b/signature-standards/sigs-pades/build.gradle
index 92b50da9..c67edbca 100644
--- a/signature-standards/sigs-pades/build.gradle
+++ b/signature-standards/sigs-pades/build.gradle
@@ -17,6 +17,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
dependencies {
compile project (':pdf-as-lib')
compile project (':pdf-as-common')
diff --git a/signature-standards/sigs-pkcs7detached/build.gradle b/signature-standards/sigs-pkcs7detached/build.gradle
index 3206d1f9..197c6c07 100644
--- a/signature-standards/sigs-pkcs7detached/build.gradle
+++ b/signature-standards/sigs-pkcs7detached/build.gradle
@@ -17,6 +17,9 @@ task releases(type: Copy) {
into rootDir.toString() + "/releases/" + version
}
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
dependencies {
compile project (':pdf-as-lib')
compile project (':pdf-as-common')