New build files for spongy castle

This commit is contained in:
Dominik Schürmann 2014-01-27 14:01:37 +01:00
parent 5aec25ac05
commit 6ae99cc6cb
4 changed files with 77 additions and 0 deletions

View File

@ -23,6 +23,10 @@ dependencies {
compile project(':libraries:AndroidBootstrap') compile project(':libraries:AndroidBootstrap')
compile project(':libraries:zxing') compile project(':libraries:zxing')
compile project(':libraries:zxing-android-integration') compile project(':libraries:zxing-android-integration')
compile project(':libraries:spongycastle:core')
compile project(':libraries:spongycastle:pg')
compile project(':libraries:spongycastle:pkix')
compile project(':libraries:spongycastle:prov')
} }
android { android {

View File

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

View File

@ -5,3 +5,7 @@ include ':libraries:StickyListHeaders:library'
include ':libraries:AndroidBootstrap' include ':libraries:AndroidBootstrap'
include ':libraries:zxing' include ':libraries:zxing'
include ':libraries:zxing-android-integration' include ':libraries:zxing-android-integration'
include ':libraries:spongycastle:core'
include ':libraries:spongycastle:pg'
include ':libraries:spongycastle:pkix'
include ':libraries:spongycastle:prov'

67
spongycastle.gradle Normal file
View File

@ -0,0 +1,67 @@
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")
}