aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle19
1 files changed, 10 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index 7de91879..5a1dc9ee 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,20 +18,21 @@ subprojects {
}
sourceCompatibility = 1.5
-
+ version = '4.0.0-RC9-SNAPSHOT'
project.ext{
releaseRepoUrl = "file://${project(':').projectDir}/../mvn-repo/releases"
snapshotRepoUrl = "file://${project(':').projectDir}/../mvn-repo/snapshots"
+ version = '4.0.0-RC9-SNAPSHOT'
+ pdfasversion = version
+ revision = getCheckedOutGitCommitHash()
+ //tomcatVersion = '7.0.54';
+ tomcatVersion = '8.0.9';
}
- version = '4.0.0-RC9-SNAPSHOT'
- pdfasversion = version
- revision = getCheckedOutGitCommitHash()
- //tomcatVersion = '7.0.54';
- tomcatVersion = '8.0.9';
- jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': version }
+
+ jar { manifest.attributes provider: 'EGIZ', 'Specification-Version': getCheckedOutGitCommitHash(), 'Implementation-Version': project.version }
uploadArchives {
repositories.mavenDeployer {
@@ -58,11 +59,11 @@ def getCheckedOutGitCommitHash() {
def refHead = new File(gitFolder + head[1].trim()) // .git/refs/heads/master
refHead.text.trim().take takeFromHash
}
-
+/*
task docs(type: Javadoc) {
source subprojects.collect {project -> project.sourceSets.main.allJava }
classpath = files(subprojects.collect {project -> project.sourceSets.main.compileClasspath})
destinationDir = new File(projectDir, 'docs/full')
-}
+}*/