Consolidate app dependencies using gradle version catalogs.

This commit is contained in:
Alex Hart
2021-09-14 14:57:04 -03:00
parent 7d7dd101df
commit b589449c34
17 changed files with 332 additions and 164 deletions

View File

@@ -42,12 +42,12 @@ protobuf {
dependencies {
lintChecks project(':lintchecks')
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
coreLibraryDesugaring libs.android.tools.desugar
api 'androidx.annotation:annotation:1.1.0'
api libs.androidx.annotation
implementation 'com.google.protobuf:protobuf-javalite:3.10.0'
implementation libs.google.protobuf.javalite
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:2.23.4'
testImplementation testLibs.junit.junit
testImplementation testLibs.mockito.core
}

View File

@@ -3,8 +3,8 @@
dependencyVerification {
verify = [
['androidx.annotation:annotation:1.1.0',
'd38d63edb30f1467818d50aaf05f8a692dea8b31392a049bfa991b159ad5b692'],
['androidx.annotation:annotation:1.2.0',
'9029262bddce116e6d02be499e4afdba21f24c239087b76b3b57d7e98b490a36'],
['com.google.protobuf:protobuf-javalite:3.10.0',
'215a94dbe100130295906b531bb72a26965c7ac8fcd9a75bf8054a8ac2abf4b4'],