使用 libs.versions.toml 管理依赖版本 (#3873)

This commit is contained in:
Glavo
2025-04-29 13:41:45 +08:00
committed by GitHub
parent 038f56b048
commit dc5ebcf64d
5 changed files with 59 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ repositories {
}
dependencies {
implementation("com.google.code.gson:gson:2.13.0")
implementation(libs.gson)
}
java {

View File

@@ -0,0 +1,7 @@
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
}
}