diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-09-03 15:57:36 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2013-09-03 15:57:36 +0200 |
commit | fef9b07b2c4542b54a79c8632268fc98f7ba460e (patch) | |
tree | 6824dbda587b6c1f060b5f32eff535db3c503cca | |
parent | e2940ccfd91df2cef19f725fc431d7ff5c50f960 (diff) | |
download | pdf-as-4-fef9b07b2c4542b54a79c8632268fc98f7ba460e.tar.gz pdf-as-4-fef9b07b2c4542b54a79c8632268fc98f7ba460e.tar.bz2 pdf-as-4-fef9b07b2c4542b54a79c8632268fc98f7ba460e.zip |
Basic gradle files
-rw-r--r-- | build.gradle | 20 | ||||
-rw-r--r-- | pdf-as-lib/build.gradle | 29 | ||||
-rw-r--r-- | settings.gradle | 2 | ||||
-rw-r--r-- | signature-standards/sigs-pades/build.gradle | 30 |
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' + } + } +} |