diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-09-26 11:02:25 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-09-26 11:02:25 +0200 |
commit | be00464ff8350c260e4377dfc6ebfcc66356eff9 (patch) | |
tree | a856e2fe39c99697ba779f24885cc2cb2bedeed3 /build.gradle | |
parent | 9f21e91f4b41f56871aa073df03dbb0a38da1c47 (diff) | |
download | pdf-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.gradle | 10 |
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 |