mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
52 lines
1.2 KiB
Groovy
52 lines
1.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'witness'
|
|
apply from: 'witness.gradle'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
buildToolsVersion '27.0.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 26
|
|
versionCode 10102
|
|
versionName "1.1.2"
|
|
consumerProguardFiles 'proguard-rules.txt'
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
tor
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(path: ':bramble-core', configuration: 'default')
|
|
tor 'org.briarproject:tor-android:0.2.9.16@zip'
|
|
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.0.2'
|
|
|
|
compileOnly 'javax.annotation:jsr250-api:1.0'
|
|
|
|
testImplementation project(path: ':bramble-api', configuration: 'testOutput')
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation "org.jmock:jmock:2.8.2"
|
|
testImplementation "org.jmock:jmock-junit4:2.8.2"
|
|
testImplementation "org.jmock:jmock-legacy:2.8.2"
|
|
testImplementation "org.hamcrest:hamcrest-library:1.3"
|
|
testImplementation "org.hamcrest:hamcrest-core:1.3"
|
|
}
|
|
|
|
project.afterEvaluate {
|
|
copy {
|
|
from configurations.tor.collect { zipTree(it) }
|
|
into 'src/main/res/raw'
|
|
}
|
|
}
|