2020-12-04 18:31:58 -05:00
|
|
|
apply plugin: 'com.android.library'
|
2020-12-20 00:44:26 -05:00
|
|
|
apply plugin: 'com.google.protobuf'
|
2020-12-04 18:31:58 -05:00
|
|
|
apply plugin: 'witness'
|
|
|
|
apply from: 'witness-verifications.gradle'
|
|
|
|
|
|
|
|
android {
|
|
|
|
buildToolsVersion BUILD_TOOL_VERSION
|
|
|
|
compileSdkVersion COMPILE_SDK
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion MINIMUM_SDK
|
|
|
|
targetSdkVersion TARGET_SDK
|
2021-06-10 15:47:12 -04:00
|
|
|
multiDexEnabled true
|
2020-12-04 18:31:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2021-06-10 15:47:12 -04:00
|
|
|
coreLibraryDesugaringEnabled true
|
2020-12-04 18:31:58 -05:00
|
|
|
sourceCompatibility JAVA_VERSION
|
|
|
|
targetCompatibility JAVA_VERSION
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyVerification {
|
|
|
|
configuration = '(debug|release)RuntimeClasspath'
|
|
|
|
}
|
|
|
|
|
2020-12-20 00:44:26 -05:00
|
|
|
protobuf {
|
|
|
|
protoc {
|
|
|
|
artifact = 'com.google.protobuf:protoc:3.10.0'
|
|
|
|
}
|
|
|
|
generateProtoTasks {
|
|
|
|
all().each { task ->
|
|
|
|
task.builtins {
|
|
|
|
java {
|
|
|
|
option "lite"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-04 18:31:58 -05:00
|
|
|
dependencies {
|
2021-01-05 19:13:38 -04:00
|
|
|
lintChecks project(':lintchecks')
|
|
|
|
|
2021-06-10 15:47:12 -04:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
|
|
|
|
2021-01-05 19:13:38 -04:00
|
|
|
api 'androidx.annotation:annotation:1.1.0'
|
|
|
|
|
2020-12-20 00:44:26 -05:00
|
|
|
implementation 'com.google.protobuf:protobuf-javalite:3.10.0'
|
2021-01-05 19:13:38 -04:00
|
|
|
|
2021-06-10 15:47:12 -04:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
testImplementation 'org.mockito:mockito-core:2.23.4'
|
2021-01-05 19:13:38 -04:00
|
|
|
}
|