Signal-Android/core-util/build.gradle

49 wiersze
1007 B
Groovy
Czysty Zwykły widok Historia

apply plugin: 'com.android.library'
2020-12-20 05:44:26 +00:00
apply plugin: 'com.google.protobuf'
apply plugin: 'witness'
apply from: 'witness-verifications.gradle'
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'
}
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')
api 'androidx.annotation:annotation:1.1.0'
2020-12-20 05:44:26 +00:00
implementation 'com.google.protobuf:protobuf-javalite:3.10.0'
2021-01-05 23:13:38 +00:00
testImplementation 'junit:junit:4.13.1'
2021-01-05 23:13:38 +00:00
}