Start using version catalog

This commit is contained in:
oupson 2023-05-17 07:28:13 +02:00
parent 43cb77ca48
commit 888e1ca898
Signed by: oupson
GPG Key ID: 3BD88615552EFCB7
3 changed files with 16 additions and 4 deletions

View File

@ -32,9 +32,9 @@ android {
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
implementation libs.kotlinx.coroutines.android
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation libs.appcompat
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'

View File

@ -44,9 +44,9 @@ android {
}
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
implementation libs.kotlinx.coroutines.android
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation libs.appcompat
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.9.0'

12
gradle/libs.versions.toml Normal file
View File

@ -0,0 +1,12 @@
[versions]
kotlinx-coroutines = "1.6.4"
appcompat = "1.6.1"
[libraries]
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
[bundles]
[plugins]