aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web-db/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web-db/build.gradle')
-rw-r--r--pdf-as-web-db/build.gradle27
1 files changed, 27 insertions, 0 deletions
diff --git a/pdf-as-web-db/build.gradle b/pdf-as-web-db/build.gradle
new file mode 100644
index 00000000..c29fff66
--- /dev/null
+++ b/pdf-as-web-db/build.gradle
@@ -0,0 +1,27 @@
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+jar {
+ manifest {
+ attributes 'Implementation-Title': 'PDF-AS-4 Web Extension Library', 'JARMANIFEST': 'PDF-AS-LIB'
+ }
+}
+
+repositories {
+ mavenLocal()
+ mavenCentral()
+}
+
+dependencies {
+ compile project (':pdf-as-web')
+ compile "org.hibernate:hibernate-core:4.3.6.Final"
+ compile "org.hibernate:hibernate-entitymanager:4.3.6.Final"
+ compile group: 'log4j', name: 'log4j', version: '1.2.17'
+ compile group: 'org.slf4j', name: 'slf4j-api', version: slf4jVersion
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+}
+
+task releases(type: Copy) {
+ from jar.outputs
+ into rootDir.toString() + "/releases/" + version
+} \ No newline at end of file