diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-12-01 12:23:47 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-12-02 10:09:35 +0100 |
commit | e929b5f4c6d9351b29150e6c1843f06806ee7b00 (patch) | |
tree | c6ecc4e5f6c3da6ef381a3d852c0a2211ca060e2 /pdf-as-web-status/build.gradle | |
parent | 6398c85d80213f316dd0f9e4be10e34b54b1f5f9 (diff) | |
download | pdf-as-4-e929b5f4c6d9351b29150e6c1843f06806ee7b00.tar.gz pdf-as-4-e929b5f4c6d9351b29150e6c1843f06806ee7b00.tar.bz2 pdf-as-4-e929b5f4c6d9351b29150e6c1843f06806ee7b00.zip |
added status servlet to pdf-as-web
Diffstat (limited to 'pdf-as-web-status/build.gradle')
-rw-r--r-- | pdf-as-web-status/build.gradle | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pdf-as-web-status/build.gradle b/pdf-as-web-status/build.gradle new file mode 100644 index 00000000..710f04e4 --- /dev/null +++ b/pdf-as-web-status/build.gradle @@ -0,0 +1,39 @@ +apply plugin: 'java' +apply plugin: 'war' +apply plugin: 'eclipse' +apply plugin: 'java-library-distribution' + +jar { + manifest { + attributes 'Implementation-Title': 'PDF-AS-4 Web Status Library', 'JARMANIFEST': 'PDF-AS-LIB' + } +} + +repositories { + mavenLocal() + mavenCentral() +} + +configurations { providedCompile } + +sourceSets.main.compileClasspath += configurations.providedCompile +sourceSets.test.compileClasspath += configurations.providedCompile +sourceSets.test.runtimeClasspath += configurations.providedCompile + +dependencies { + compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion + compile 'org.apache.commons:commons-lang3:3.3.2' + providedCompile 'javax.servlet:javax.servlet-api:3.0.1' + testCompile group: 'junit', name: 'junit', version: '4.+' +} + +task releases(type: Copy) { + from jar.outputs + from distZip.outputs + from distTar.outputs + into rootDir.toString() + "/releases/" + version +} + +releases.dependsOn jar +releases.dependsOn distZip +releases.dependsOn distTar |