Change gradle build for spongy castle, now Android Studio properly finds the classes
This commit is contained in:
@@ -17,5 +17,3 @@ allprojects {
|
|||||||
task wrapper(type: Wrapper) {
|
task wrapper(type: Wrapper) {
|
||||||
gradleVersion = '1.10'
|
gradleVersion = '1.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: 'spongycastle.gradle'
|
|
||||||
|
|||||||
12
libraries/spongycastle/core/build.gradle
Normal file
12
libraries/spongycastle/core/build.gradle
Normal 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")
|
||||||
14
libraries/spongycastle/pg/build.gradle
Normal file
14
libraries/spongycastle/pg/build.gradle
Normal 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")
|
||||||
14
libraries/spongycastle/pkix/build.gradle
Normal file
14
libraries/spongycastle/pkix/build.gradle
Normal 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")
|
||||||
13
libraries/spongycastle/prov/build.gradle
Normal file
13
libraries/spongycastle/prov/build.gradle
Normal 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")
|
||||||
@@ -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")
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user