forked from SubhamTyagi/openinwa
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build.gradle to use TOML version catalog
Android Studio does not have support for version catalogs defined in settings.gradle. On its insistence, this refactors the repo to create a libs.versions.toml and moves all versions, libraries, bundles and plugin definitions into it.
- Loading branch information
1 parent
7ba352a
commit a3667c5
Showing
3 changed files
with
44 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[versions] | ||
androidx_test = "1.6.1" | ||
espresso = "3.5.1" | ||
hilt = "2.51.1" | ||
kotlin = "2.0.0" | ||
ksp = "2.0.0-1.0.22" | ||
|
||
[libraries] | ||
kotlin = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" } | ||
|
||
appcompat = { group = "androidx.appcompat", name = "appcompat", version = "1.7.0" } | ||
preference = { group = "androidx.preference", name = "preference-ktx", version = "1.2.1" } | ||
core = { group = "androidx.core", name = "core-ktx", version = "1.13.1" } | ||
|
||
test-core = { module = "androidx.test:core", version.ref = "androidx_test" } | ||
test-runner = { module = "androidx.test:runner", version.ref = "androidx_test" } | ||
test-rules = { module = "androidx.test:rules", version.ref = "androidx_test" } | ||
|
||
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espresso"} | ||
espresso-intents = { module = "androidx.test.espresso:espresso-intents", version.ref = "espresso"} | ||
|
||
libphonenumber = { module = "io.michaelrocks:libphonenumber-android", version = "8.13.35" } | ||
junit = { module = "junit:junit", version = "4.13.2" } | ||
truth = { module = "com.google.truth:truth", version = "1.4.3" } | ||
mockito = { module = "org.mockito.kotlin:mockito-kotlin", version = "5.3.1" } | ||
dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "hilt" } | ||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } | ||
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } | ||
robolectric = { module = "org.robolectric:robolectric", version = "4.12.2" } | ||
material = { module = "com.google.android.material:material", version = "1.12.0" } | ||
vcard4android = { module = "com.github.bitfireAT:vcard4android", version = "adf00bd" } | ||
desugarjdklibs = { module = "com.android.tools:desugar_jdk_libs", version = "2.0.4" } | ||
|
||
[bundles] | ||
test = ["test-core", "test-runner", "test-rules"] | ||
espresso = ["espresso-core", "espresso-intents"] | ||
|
||
[plugins] | ||
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } | ||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } | ||
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters