Signal-Android/core-util/build.gradle

36 lines
744 B
Groovy
Raw Normal View History

plugins {
id 'signal-library'
id 'com.google.protobuf'
id 'kotlin-kapt'
}
android {
2023-02-11 15:35:01 -05:00
namespace 'org.signal.core.util'
}
2020-12-20 00:44:26 -05:00
protobuf {
protoc {
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"
}
}
}
}
}
dependencies {
implementation libs.google.protobuf.javalite
implementation libs.androidx.sqlite
2021-01-05 19:13:38 -04:00
testImplementation testLibs.junit.junit
testImplementation testLibs.mockito.core
testImplementation (testLibs.robolectric.robolectric) {
exclude group: 'com.google.protobuf', module: 'protobuf-java'
}
2021-01-05 19:13:38 -04:00
}