2021-10-08 15:18:52 -04:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'com.google.protobuf'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
}
|
2020-12-04 18:31:58 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
2021-10-08 15:18:52 -04:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2020-12-04 18:31:58 -05:00
|
|
|
}
|
|
|
|
|
2020-12-20 00:44:26 -05:00
|
|
|
protobuf {
|
|
|
|
protoc {
|
2021-12-30 00:15:16 -05:00
|
|
|
artifact = 'com.google.protobuf:protoc:3.18.0'
|
2020-12-20 00:44:26 -05:00
|
|
|
}
|
|
|
|
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-09-14 14:57:04 -03:00
|
|
|
coreLibraryDesugaring libs.android.tools.desugar
|
2021-06-10 15:47:12 -04:00
|
|
|
|
2021-09-14 14:57:04 -03:00
|
|
|
api libs.androidx.annotation
|
2021-01-05 19:13:38 -04:00
|
|
|
|
2021-10-08 15:18:52 -04:00
|
|
|
implementation libs.androidx.core.ktx
|
2021-09-14 14:57:04 -03:00
|
|
|
implementation libs.google.protobuf.javalite
|
2021-01-05 19:13:38 -04:00
|
|
|
|
2021-09-14 14:57:04 -03:00
|
|
|
testImplementation testLibs.junit.junit
|
|
|
|
testImplementation testLibs.mockito.core
|
2021-01-05 19:13:38 -04:00
|
|
|
}
|