aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle20
-rw-r--r--pdf-as-lib/build.gradle29
-rw-r--r--settings.gradle2
-rw-r--r--signature-standards/sigs-pades/build.gradle30
4 files changed, 81 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 00000000..b0bf446d
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,20 @@
+subprojects {
+ apply plugin: 'java'
+ apply plugin: 'eclipse'
+
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ testCompile 'junit:junit:4.8.2'
+ }
+
+ sourceCompatibility = 1.5
+
+ version = '4.0'
+
+ jar {
+ manifest.attributes provider: 'EGIZ'
+ }
+}
diff --git a/pdf-as-lib/build.gradle b/pdf-as-lib/build.gradle
new file mode 100644
index 00000000..41c9a3ba
--- /dev/null
+++ b/pdf-as-lib/build.gradle
@@ -0,0 +1,29 @@
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+jar {
+ manifest {
+ attributes 'Implementation-Title': 'PDF-AS-4 Library', 'Implementation-Version': version
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+}
+
+test {
+ systemProperties 'property': 'value'
+}
+
+uploadArchives {
+ repositories {
+ flatDir {
+ dirs 'repos'
+ }
+ }
+}
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 00000000..c34055fa
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,2 @@
+
+include "sigs-pades", "pdf-as-lib"
diff --git a/signature-standards/sigs-pades/build.gradle b/signature-standards/sigs-pades/build.gradle
new file mode 100644
index 00000000..4aee14ee
--- /dev/null
+++ b/signature-standards/sigs-pades/build.gradle
@@ -0,0 +1,30 @@
+apply plugin: 'java'
+apply plugin: 'eclipse'
+
+jar {
+ manifest {
+ attributes 'Implementation-Title': 'Signature Standard PAdES', 'Implementation-Version': version
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile project (':pdf-as-lib')
+ compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+}
+
+test {
+ systemProperties 'property': 'value'
+}
+
+uploadArchives {
+ repositories {
+ flatDir {
+ dirs 'repos'
+ }
+ }
+}