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 | |
parent | f6fccf8f83b5d5fbb523737d6a67d1a90e4e9975 (diff) | |
download | pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.tar.gz pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.tar.bz2 pdf-as-4-b8d5fc86a5f549cfb42736c8889fa548e6b6f661.zip |
Gradle scripts update
-rw-r--r-- | build.gradle | 20 | ||||
-rw-r--r-- | pdf-as-cli/build.gradle | 2 | ||||
-rw-r--r-- | pdf-as-common/build.gradle | 3 | ||||
-rw-r--r-- | pdf-as-legacy/build.gradle | 3 | ||||
-rw-r--r-- | pdf-as-lib/build.gradle | 1 | ||||
-rw-r--r-- | pdf-as-moa/build.gradle | 3 | ||||
-rw-r--r-- | pdf-as-pdfbox/build.gradle | 3 | ||||
-rw-r--r-- | pdf-as-web-db/build.gradle | 1 | ||||
-rw-r--r-- | pdf-as-web-status/build.gradle | 1 | ||||
-rw-r--r-- | pdf-as-web/build.gradle | 3 | ||||
-rw-r--r-- | signature-standards/sigs-pades/build.gradle | 3 | ||||
-rw-r--r-- | signature-standards/sigs-pkcs7detached/build.gradle | 3 |
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') |