6.7.0 - Alpha6 - 使用版本目录 (Version Catalogs) 集中管理 Gradle 依赖和插件版本

This commit is contained in:
SuperMonster003
2025-09-24 15:53:37 +08:00
parent e46a3bd15b
commit ef076d1cf8
11 changed files with 200 additions and 41 deletions

View File

@@ -144,8 +144,8 @@ dependencies {
implementation project(path: ":libs:org.opencv-${versionMap.OPENCV}")
implementation 'androidx.core:core-ktx:1.13.1'
implementation "androidx.preference:preference-ktx:1.2.1"
implementation libs.core.ktx
implementation libs.preference.ktx
}

View File

@@ -109,12 +109,9 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
implementation 'androidx.core:core-ktx:1.13.1'
implementation 'androidx.appcompat:appcompat:1.7.0'
testImplementation libs.junit
androidTestImplementation libs.test.ext.junit
androidTestImplementation libs.test.espresso.core
}