Skip to content

Commit 777b8b5

Browse files
falhassenglide-copybara-robot
authored andcommitted
Moving hardcoded versions away from the [libraries] to [versions]. This will help with version management since everything is now in one place.
PiperOrigin-RevId: 823245115
1 parent 88c7578 commit 777b8b5

File tree

1 file changed

+95
-50
lines changed

1 file changed

+95
-50
lines changed

gradle/libs.versions.toml

Lines changed: 95 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -15,59 +15,104 @@ androidx-fragment = "1.6.1"
1515
okhttp-min-sdk-version = "21"
1616
kotlin-compiler-extension = "1.5.5"
1717
androidx-benchmark = "1.2.0-beta05"
18-
compile-sdk-version = 'android-36'
18+
compile-sdk-version = "android-36"
19+
androidx-multidex = "2.0.1"
20+
autoservice = "1.0-rc3"
21+
autoservice-annotations = "1.0.1"
22+
android-gradle = "8.1.1"
23+
androidx-cardview = "1.0.0"
24+
androidx-core = "1.12.0"
25+
androidx-annotation = "1.7.1"
26+
androidx-appcompat = "1.6.1"
27+
androidx-exifinterface = "1.3.6"
28+
androidx-futures = "1.1.0"
29+
androidx-junit = "1.1.5"
30+
androidx-lifecycle-runtime = "2.8.2"
31+
androidx-recyclerview = "1.3.1"
32+
androidx-test-core = "1.4.0"
33+
androidx-test-ktx = "1.5.0"
34+
androidx-test-rules = "1.4.0"
35+
androidx-test-runner = "1.4.0"
36+
androidx-tracing = "1.0.0"
37+
androidx-vectordrawable = "1.1.0"
38+
proguard-gradle = "7.1.0"
39+
coroutines-binarycompat-gradle = "0.18.1"
40+
cronet = "17.0.1"
41+
dokka-gradle = "1.8.20"
42+
drawablepainter = "0.25.1"
43+
errorprone-gradle = "2.0.2"
44+
findbugs-jsr305 = "3.0.2"
45+
guava = "28.1-android"
46+
guava-testlib = "18.0"
47+
javapoet = "1.9.0"
48+
junit = "4.13.2"
49+
kotlinpoet = "1.12.0"
50+
ksp-autoservice = "1.0.0"
51+
ksp-compiletesting = "1.6.0"
52+
mockwebserver = "3.0.0-RC1"
53+
okhttp2 = "2.7.5"
54+
okhttp3 = "3.10.0"
55+
okhttp4 = "4.10.0"
56+
robolectric = "4.11.1"
57+
rx-android = "1.2.1"
58+
rx-java = "1.3.8"
59+
svg = "1.2.1"
60+
truth = "1.4.4"
61+
violations = "1.8"
62+
volley = "1.2.1"
63+
vanniktech = "0.34.0"
1964
ktfmt = "0.25.0"
2065

2166
[libraries]
22-
androidx-multidex = { group = "androidx.multidex", name = "multidex", version = "2.0.1" }
23-
autoservice = { group = "com.google.auto.service", name = "auto-service", version = "1.0-rc3" }
24-
autoservice-annotations = { group = "com.google.auto.service", name = "auto-service-annotations", version = "1.0.1" }
25-
android-gradle = { group = "com.android.tools.build", name = "gradle", version = "8.1.1" }
26-
androidx-cardview = { group = "androidx.cardview", name = "cardview", version = "1.0.0" }
27-
androidx-core = { group = "androidx.core", name = "core", version = "1.12.0" }
28-
androidx-annotation = { group = "androidx.annotation", name = "annotation", version = "1.7.1" }
29-
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.6.1" }
30-
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version = "1.12.0" }
31-
androidx-exifinterface = { group = "androidx.exifinterface", name = "exifinterface", version = "1.3.6" }
32-
androidx-futures = { group = "androidx.concurrent", name = "concurrent-futures", version = "1.1.0" }
33-
androidx-junit = { group = "androidx.test.ext", name = "junit", version = "1.1.5" }
34-
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version = "2.8.2" }
35-
androidx-lifecycle-runtime-testing = { group = "androidx.lifecycle", name = "lifecycle-runtime-testing", version = "2.8.2" }
36-
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version = "1.3.1" }
37-
androidx-test-core = { group = "androidx.test", name = "core", version = "1.4.0" }
38-
androidx-test-ktx = { group = "androidx.test", name = "core-ktx", version = "1.5.0" }
39-
androidx-test-ktx-junit = { group = "androidx.test.ext", name = "junit-ktx", version = "1.1.5" }
40-
androidx-test-rules = { group = "androidx.test", name = "rules", version = "1.4.0" }
41-
androidx-test-runner = { group = "androidx.test", name = "runner", version = "1.4.0" }
42-
androidx-tracing = { group = "androidx.tracing", name = "tracing", version = "1.0.0" }
43-
androidx-vectordrawable = { group = "androidx.vectordrawable", name = "vectordrawable-animated", version = "1.1.0" }
44-
proguard-gradle = { group = "com.guardsquare", name = "proguard-gradle", version = "7.1.0" }
45-
compose-material = { group = "androidx.compose.material", name = "material", version = "1.5.1" }
46-
coroutines-binarycompat-gradle = { group = "org.jetbrains.kotlinx", name = "binary-compatibility-validator", version = "0.18.1" }
47-
cronet = { group = "com.google.android.gms", name = "play-services-cronet", version = "17.0.1" }
48-
dokka-gradle = { group = "org.jetbrains.dokka", name = "dokka-gradle-plugin", version = "1.8.20" }
49-
drawablepainter = { group = "com.google.accompanist", name = "accompanist-drawablepainter", version = "0.25.1" }
50-
errorprone-gradle = { group = "net.ltgt.gradle", name = "gradle-errorprone-plugin", version = "2.0.2" }
51-
findbugs-jsr305 = { group = "com.google.code.findbugs", name = "jsr305", version = "3.0.2" }
52-
guava = { group = "com.google.guava", name = "guava", version = "28.1-android" }
53-
guava-testlib = { group = "com.google.guava", name = "guava-testlib", version = "18.0" }
54-
javapoet = { group = "com.squareup", name = "javapoet", version = "1.9.0" }
55-
junit = { group = "junit", name = "junit", version = "4.13.2" }
56-
kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version = "1.12.0" }
57-
ksp-autoservice = { group = "dev.zacsweers.autoservice", name = "auto-service-ksp", version = "1.0.0" }
58-
ksp-compiletesting = { group = "com.github.tschuchortdev", name = "kotlin-compile-testing-ksp", version = "1.6.0" }
59-
mockwebserver = { group = "com.squareup.okhttp3", name = "mockwebserver", version = "3.0.0-RC1" }
60-
okhttp2 = { group = "com.squareup.okhttp", name = "okhttp", version = "2.7.5" }
61-
okhttp3 = { group = "com.squareup.okhttp3", name = "okhttp", version = "3.10.0" }
62-
okhttp4 = { group = "com.squareup.okhttp3", name = "okhttp", version = "4.10.0" }
63-
robolectric = { group = "org.robolectric", name = "robolectric", version = "4.11.1" }
64-
rx-android = { group = "io.reactivex", name = "rxandroid", version = "1.2.1" }
65-
rx-java = { group = "io.reactivex", name = "rxjava", version = "1.3.8" }
66-
svg = { group = "com.caverock", name = "androidsvg", version = "1.2.1" }
67-
truth = { group = "com.google.truth", name = "truth", version = "1.4.4" }
68-
violations = { group = "se.bjurr.violations", name = "violations-gradle-plugin", version = "1.8" }
69-
volley = { group = "com.android.volley", name = "volley", version = "1.2.1" }
70-
vanniktech = { group = "com.vanniktech", name = "gradle-maven-publish-plugin", version = "0.34.0" }
67+
androidx-multidex = { group = "androidx.multidex", name = "multidex", version.ref = "androidx-multidex" }
68+
autoservice = { group = "com.google.auto.service", name = "auto-service", version.ref = "autoservice" }
69+
autoservice-annotations = { group = "com.google.auto.service", name = "auto-service-annotations", version.ref = "autoservice-annotations" }
70+
android-gradle = { group = "com.android.tools.build", name = "gradle", version.ref = "android-gradle" }
71+
androidx-cardview = { group = "androidx.cardview", name = "cardview", version.ref = "androidx-cardview" }
72+
androidx-core = { group = "androidx.core", name = "core", version.ref = "androidx-core" }
73+
androidx-annotation = { group = "androidx.annotation", name = "annotation", version.ref = "androidx-annotation" }
74+
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" }
75+
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidx-core" }
76+
androidx-exifinterface = { group = "androidx.exifinterface", name = "exifinterface", version.ref = "androidx-exifinterface" }
77+
androidx-futures = { group = "androidx.concurrent", name = "concurrent-futures", version.ref = "androidx-futures" }
78+
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "androidx-junit" }
79+
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidx-lifecycle-runtime" }
80+
androidx-lifecycle-runtime-testing = { group = "androidx.lifecycle", name = "lifecycle-runtime-testing", version.ref = "androidx-lifecycle-runtime" }
81+
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "androidx-recyclerview" }
82+
androidx-test-core = { group = "androidx.test", name = "core", version.ref = "androidx-test-core" }
83+
androidx-test-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "androidx-test-ktx" }
84+
androidx-test-ktx-junit = { group = "androidx.test.ext", name = "junit-ktx", version.ref = "androidx-junit" }
85+
androidx-test-rules = { group = "androidx.test", name = "rules", version.ref = "androidx-test-rules" }
86+
androidx-test-runner = { group = "androidx.test", name = "runner", version.ref = "androidx-test-runner" }
87+
androidx-tracing = { group = "androidx.tracing", name = "tracing", version.ref = "androidx-tracing" }
88+
androidx-vectordrawable = { group = "androidx.vectordrawable", name = "vectordrawable-animated", version.ref = "androidx-vectordrawable" }
89+
proguard-gradle = { group = "com.guardsquare", name = "proguard-gradle", version.ref = "proguard-gradle" }
90+
compose-material = { group = "androidx.compose.material", name = "material", version.ref = "compose" }
91+
coroutines-binarycompat-gradle = { group = "org.jetbrains.kotlinx", name = "binary-compatibility-validator", version.ref = "coroutines-binarycompat-gradle" }
92+
cronet = { group = "com.google.android.gms", name = "play-services-cronet", version.ref = "cronet" }
93+
dokka-gradle = { group = "org.jetbrains.dokka", name = "dokka-gradle-plugin", version.ref = "dokka-gradle" }
94+
drawablepainter = { group = "com.google.accompanist", name = "accompanist-drawablepainter", version.ref = "drawablepainter" }
95+
errorprone-gradle = { group = "net.ltgt.gradle", name = "gradle-errorprone-plugin", version.ref = "errorprone-gradle" }
96+
findbugs-jsr305 = { group = "com.google.code.findbugs", name = "jsr305", version.ref = "findbugs-jsr305" }
97+
guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
98+
guava-testlib = { group = "com.google.guava", name = "guava-testlib", version.ref = "guava-testlib" }
99+
javapoet = { group = "com.squareup", name = "javapoet", version.ref = "javapoet" }
100+
junit = { group = "junit", name = "junit", version.ref = "junit" }
101+
kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version.ref = "kotlinpoet" }
102+
ksp-autoservice = { group = "dev.zacsweers.autoservice", name = "auto-service-ksp", version.ref = "ksp-autoservice" }
103+
ksp-compiletesting = { group = "com.github.tschuchortdev", name = "kotlin-compile-testing-ksp", version.ref = "ksp-compiletesting" }
104+
mockwebserver = { group = "com.squareup.okhttp3", name = "mockwebserver", version.ref = "mockwebserver" }
105+
okhttp2 = { group = "com.squareup.okhttp", name = "okhttp", version.ref = "okhttp2" }
106+
okhttp3 = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp3" }
107+
okhttp4 = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp4" }
108+
robolectric = { group = "org.robolectric", name = "robolectric", version.ref = "robolectric" }
109+
rx-android = { group = "io.reactivex", name = "rxandroid", version.ref = "rx-android" }
110+
rx-java = { group = "io.reactivex", name = "rxjava", version.ref = "rx-java" }
111+
svg = { group = "com.caverock", name = "androidsvg", version.ref = "svg" }
112+
truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
113+
violations = { group = "se.bjurr.violations", name = "violations-gradle-plugin", version.ref = "violations" }
114+
volley = { group = "com.android.volley", name = "volley", version.ref = "volley" }
115+
vanniktech = { group = "com.vanniktech", name = "gradle-maven-publish-plugin", version.ref = "vanniktech" }
71116
androidx-benchmark-gradle = { group = "androidx.benchmark", name = "benchmark-gradle-plugin", version.ref = "androidx-benchmark" }
72117
androidx-benchmark-junit = { group = "androidx.benchmark", name = "benchmark-junit4", version.ref = "androidx-benchmark" }
73118
androidx-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "androidx-espresso" }

0 commit comments

Comments
 (0)