Change gradle build for spongy castle, now Android Studio properly finds the classes

This commit is contained in:
Dominik Schürmann 2014-01-31 14:08:38 +01:00
parent a0c851299a
commit 3c897d68ff
6 changed files with 53 additions and 69 deletions

View File

@ -17,5 +17,3 @@ allprojects {
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}
apply from: 'spongycastle.gradle'

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -1,67 +0,0 @@
project(':libraries:spongycastle:core') {
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")
}
project(':libraries:spongycastle:pg') {
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")
}
project(':libraries:spongycastle:pkix') {
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")
}
project(':libraries:spongycastle:prov') {
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")
}