refactor: Migrate to gradle version catalog

This commit is contained in:
ziro 2024-01-10 12:10:43 +07:00
parent 71898809ba
commit 9a2815d277
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
11 changed files with 297 additions and 209 deletions

View file

@ -6,5 +6,26 @@ pluginManagement {
}
}
dependencyResolutionManagement {
versionCatalogs {
create("androidx") {
from(files("gradle/androidx.versions.toml"))
}
create("compose") {
from(files("gradle/compose.versions.toml"))
}
create("kotlinx") {
from(files("gradle/kotlinx.versions.toml"))
}
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
maven { setUrl("https://jitpack.io") }
maven { setUrl("https://plugins.gradle.org/m2/") }
}
}
rootProject.name = "Yokai"
include(":app")