2021-03-03 16:03:49 -05:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'witness'
|
|
|
|
apply from: 'witness-verifications.gradle'
|
|
|
|
|
2021-03-11 13:16:51 -05:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2021-03-03 16:03:49 -05:00
|
|
|
android {
|
|
|
|
buildToolsVersion BUILD_TOOL_VERSION
|
|
|
|
compileSdkVersion COMPILE_SDK
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion MINIMUM_SDK
|
|
|
|
targetSdkVersion TARGET_SDK
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JAVA_VERSION
|
|
|
|
targetCompatibility JAVA_VERSION
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyVerification {
|
|
|
|
configuration = '(debug|release)RuntimeClasspath'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
implementation project(':core-util')
|
2021-08-19 14:26:47 -04:00
|
|
|
implementation "org.whispersystems:signal-client-java:${LIBSIGNAL_CLIENT_VERSION}"
|
2021-03-03 16:03:49 -05:00
|
|
|
api 'org.greenrobot:eventbus:3.0.0'
|
2021-03-11 13:16:51 -05:00
|
|
|
|
2021-03-03 16:03:49 -05:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2021-03-11 13:16:51 -05:00
|
|
|
testImplementation 'androidx.test:core:1.2.0'
|
|
|
|
testImplementation ('org.robolectric:robolectric:4.4') {
|
|
|
|
exclude group: 'com.google.protobuf', module: 'protobuf-java'
|
|
|
|
}
|
|
|
|
testImplementation 'org.robolectric:shadows-multidex:4.4'
|
|
|
|
testImplementation 'org.hamcrest:hamcrest:2.2'
|
2021-06-29 15:02:44 -04:00
|
|
|
|
|
|
|
testImplementation(testFixtures(project(":libsignal-service")))
|
2021-03-03 16:03:49 -05:00
|
|
|
}
|