aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox-2/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-pdfbox-2/build.gradle')
-rw-r--r--pdf-as-pdfbox-2/build.gradle35
1 files changed, 35 insertions, 0 deletions
diff --git a/pdf-as-pdfbox-2/build.gradle b/pdf-as-pdfbox-2/build.gradle
new file mode 100644
index 00000000..2a6248fa
--- /dev/null
+++ b/pdf-as-pdfbox-2/build.gradle
@@ -0,0 +1,35 @@
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+jar {
+ manifest {
+ attributes 'Implementation-Title': 'PDF-AS-4 PDFBOX 2 Backend'
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+task releases(type: Copy) {
+ from jar.outputs
+ into rootDir.toString() + "/releases/" + version
+}
+
+releases.dependsOn jar
+releases.dependsOn sourcesJar
+
+dependencies {
+ compile project (':pdf-as-lib')
+ compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
+ compile 'org.slf4j:jcl-over-slf4j:1.7.18'
+ compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.1'
+ compile group: 'commons-io', name: 'commons-io', version: '2.4'
+ compile group: 'ognl', name: 'ognl', version: '3.0.6'
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+}
+
+test {
+ systemProperties 'property': 'value'
+}
+