From 4973b940cc8ce0885653ed7c0223cbedd3dde3bc Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 23 Feb 2015 11:27:59 +0100 Subject: added Statistics Facilities to PDF-AS Web --- pdf-as-web-statistic-api/build.gradle | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pdf-as-web-statistic-api/build.gradle (limited to 'pdf-as-web-statistic-api/build.gradle') diff --git a/pdf-as-web-statistic-api/build.gradle b/pdf-as-web-statistic-api/build.gradle new file mode 100644 index 00000000..5de4630a --- /dev/null +++ b/pdf-as-web-statistic-api/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 Statistic 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' + 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 sourcesJar +releases.dependsOn distZip +releases.dependsOn distTar -- cgit v1.2.3