From fef9b07b2c4542b54a79c8632268fc98f7ba460e Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 3 Sep 2013 15:57:36 +0200 Subject: Basic gradle files --- build.gradle | 20 +++++++++++++++++++ pdf-as-lib/build.gradle | 29 ++++++++++++++++++++++++++++ settings.gradle | 2 ++ signature-standards/sigs-pades/build.gradle | 30 +++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 build.gradle create mode 100644 pdf-as-lib/build.gradle create mode 100644 settings.gradle create mode 100644 signature-standards/sigs-pades/build.gradle 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' + } + } +} -- cgit v1.2.3