Signal-Android/core-util/build.gradle

56 wiersze
1.1 KiB
Groovy
Czysty Zwykły widok Historia

plugins {
id 'com.android.library'
id 'com.google.protobuf'
id 'kotlin-android'
id 'kotlin-kapt'
}
android {
buildToolsVersion BUILD_TOOL_VERSION
compileSdkVersion COMPILE_SDK
defaultConfig {
minSdkVersion MINIMUM_SDK
targetSdkVersion TARGET_SDK
2021-06-10 19:47:12 +00:00
multiDexEnabled true
}
compileOptions {
2021-06-10 19:47:12 +00:00
coreLibraryDesugaringEnabled true
sourceCompatibility JAVA_VERSION
targetCompatibility JAVA_VERSION
}
kotlinOptions {
jvmTarget = '1.8'
}
}
2020-12-20 05:44:26 +00:00
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.10.0'
}
generateProtoTasks {
all().each { task ->
task.builtins {
java {
option "lite"
}
}
}
}
}
dependencies {
2021-01-05 23:13:38 +00:00
lintChecks project(':lintchecks')
coreLibraryDesugaring libs.android.tools.desugar
2021-06-10 19:47:12 +00:00
api libs.androidx.annotation
2021-01-05 23:13:38 +00:00
implementation libs.androidx.core.ktx
implementation libs.google.protobuf.javalite
2021-01-05 23:13:38 +00:00
testImplementation testLibs.junit.junit
testImplementation testLibs.mockito.core
2021-01-05 23:13:38 +00:00
}