aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-26 11:02:25 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-26 11:02:25 +0200
commitbe00464ff8350c260e4377dfc6ebfcc66356eff9 (patch)
treea856e2fe39c99697ba779f24885cc2cb2bedeed3 /build.gradle
parent9f21e91f4b41f56871aa073df03dbb0a38da1c47 (diff)
downloadpdf-as-4-be00464ff8350c260e4377dfc6ebfcc66356eff9.tar.gz
pdf-as-4-be00464ff8350c260e4377dfc6ebfcc66356eff9.tar.bz2
pdf-as-4-be00464ff8350c260e4377dfc6ebfcc66356eff9.zip
copy configuration and documentation to release folder
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 25d48445..d440a67f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -12,6 +12,7 @@ buildscript {
allprojects {
apply plugin: 'com.github.ben-manes.versions'
repositories { mavenCentral() }
+ version = '4.0.1'
}
configurations {
@@ -60,7 +61,6 @@ subprojects {
}
sourceCompatibility = 1.6
- version = '4.0.1'
project.ext{
releaseRepoUrl = "file://${project(':').projectDir}/../mvn-repo/releases"
snapshotRepoUrl = "file://${project(':').projectDir}/../mvn-repo/snapshots"
@@ -90,6 +90,14 @@ subprojects {
}
}
+task releases(type: Copy) {
+ from ('doc') {
+ include '*.pdf'
+ }
+
+ into "releases/" + version + "/docs"
+}
+
def getCheckedOutGitCommitHash() {
def gitFolder = "$projectDir/.git/"
def takeFromHash = 40