diff options
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 |