Speed up Gradle sync

This commit is contained in:
Niels Andriesse
2021-05-18 14:18:16 +10:00
parent 8a20c46bd4
commit 7c3bee036c
5 changed files with 6 additions and 12 deletions

View File

@@ -1,19 +1,10 @@
apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'kotlin-android'
android {
compileSdkVersion androidCompileSdkVersion
}
repositories {
mavenCentral()
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
implementation "androidx.annotation:annotation:1.2.0"
implementation "com.google.protobuf:protobuf-java:$protobufVersion"