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 /pdf-as-lib | |
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 'pdf-as-lib')
-rw-r--r-- | pdf-as-lib/build.gradle | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle index 7f3e1add..114faebc 100644 --- a/pdf-as-lib/build.gradle +++ b/pdf-as-lib/build.gradle @@ -60,12 +60,19 @@ dependencies { testCompile group: 'junit', name: 'junit', version: '4.+' } +task releaseConfig(type: Copy) { + from 'src/main/resources/config/config.zip' + into rootDir.toString() + "/releases/" + version + "/cfg" + rename 'config.zip', 'defaultConfig.zip' +} + task releases(type: Copy) { from jar.outputs into rootDir.toString() + "/releases/" + version - rename '.*.war', 'pdf-as-web.war' } +releases.dependsOn releaseConfig + task apidocs(type: Javadoc) { classpath = configurations.compile source = sourceSets.main.allJava |