diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-08-22 14:45:09 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-08-22 14:45:09 +0200 |
commit | 77a86d33989757f17379519301aea45f9ef82dbd (patch) | |
tree | 0bf550a8bff64610651d5f705586bd362ebca266 /build.gradle | |
parent | 030e30be6dd3580528228a900af69346be5a27e2 (diff) | |
download | pdf-as-4-77a86d33989757f17379519301aea45f9ef82dbd.tar.gz pdf-as-4-77a86d33989757f17379519301aea45f9ef82dbd.tar.bz2 pdf-as-4-77a86d33989757f17379519301aea45f9ef82dbd.zip |
Build system update
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 19 |
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') -} +}*/ |