apply plugin: 'com.android.library' 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 multiDexEnabled true } compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JAVA_VERSION targetCompatibility JAVA_VERSION } } dependencyVerification { configuration = '(debug|release)RuntimeClasspath' } protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.10.0' } generateProtoTasks { all().each { task -> task.builtins { java { option "lite" } } } } } dependencies { lintChecks project(':lintchecks') coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' api 'androidx.annotation:annotation:1.1.0' implementation 'com.google.protobuf:protobuf-javalite:3.10.0' testImplementation 'junit:junit:4.13.2' testImplementation 'org.mockito:mockito-core:2.23.4' }