aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-01-31 14:08:38 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2014-01-31 14:08:38 +0100
commit3c897d68ff75fac4a351154ca903a1d8791604c0 (patch)
tree49837a847d26e3d72800da55649df75f09ded5a5 /libraries/spongycastle
parenta0c851299ab960d47448a49ce49364e811fb53e5 (diff)
downloadopen-keychain-3c897d68ff75fac4a351154ca903a1d8791604c0.tar.gz
open-keychain-3c897d68ff75fac4a351154ca903a1d8791604c0.tar.bz2
open-keychain-3c897d68ff75fac4a351154ca903a1d8791604c0.zip
Change gradle build for spongy castle, now Android Studio properly finds the classes
Diffstat (limited to 'libraries/spongycastle')
-rw-r--r--libraries/spongycastle/core/build.gradle12
-rw-r--r--libraries/spongycastle/pg/build.gradle14
-rw-r--r--libraries/spongycastle/pkix/build.gradle14
-rw-r--r--libraries/spongycastle/prov/build.gradle13
4 files changed, 53 insertions, 0 deletions
diff --git a/libraries/spongycastle/core/build.gradle b/libraries/spongycastle/core/build.gradle
new file mode 100644
index 000000000..e8e5678cf
--- /dev/null
+++ b/libraries/spongycastle/core/build.gradle
@@ -0,0 +1,12 @@
+apply plugin: 'java'
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+}
+
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+version = '1.50.0.0'
+
+// skip tests
+build.dependsOn.remove("check") \ No newline at end of file
diff --git a/libraries/spongycastle/pg/build.gradle b/libraries/spongycastle/pg/build.gradle
new file mode 100644
index 000000000..83f7c34d4
--- /dev/null
+++ b/libraries/spongycastle/pg/build.gradle
@@ -0,0 +1,14 @@
+apply plugin: 'java'
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+ compile project(':libraries:spongycastle:core')
+ compile project(':libraries:spongycastle:prov')
+}
+
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+version = '1.50.0.0'
+
+// skip tests
+build.dependsOn.remove("check") \ No newline at end of file
diff --git a/libraries/spongycastle/pkix/build.gradle b/libraries/spongycastle/pkix/build.gradle
new file mode 100644
index 000000000..83f7c34d4
--- /dev/null
+++ b/libraries/spongycastle/pkix/build.gradle
@@ -0,0 +1,14 @@
+apply plugin: 'java'
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+ compile project(':libraries:spongycastle:core')
+ compile project(':libraries:spongycastle:prov')
+}
+
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+version = '1.50.0.0'
+
+// skip tests
+build.dependsOn.remove("check") \ No newline at end of file
diff --git a/libraries/spongycastle/prov/build.gradle b/libraries/spongycastle/prov/build.gradle
new file mode 100644
index 000000000..87394b68d
--- /dev/null
+++ b/libraries/spongycastle/prov/build.gradle
@@ -0,0 +1,13 @@
+apply plugin: 'java'
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+ compile project(':libraries:spongycastle:core')
+}
+
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+version = '1.50.0.0'
+
+// skip tests
+build.dependsOn.remove("check") \ No newline at end of file