chore: migrate legacy dependency annotation to version catalogs

because of plugin `flutter-plugin-loader` incompatible with catalog, plugins are not migrated
This commit is contained in:
PeanutMelonSeedBigAlmond
2024-05-24 23:56:08 +08:00
parent 31d59faecb
commit 1e6ee09265
2 changed files with 12 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ flutter {
}
dependencies {
implementation("com.github.DylanCaiCoding:MMKV-KTX:1.2.16")
implementation("androidx.documentfile:documentfile:1.0.1")
implementation("org.greenrobot:eventbus:3.3.1")
implementation(libs.mmkv.ktx)
implementation(libs.eventbus)
implementation(libs.documentfile)
}

View File

@@ -0,0 +1,9 @@
[versions]
mmkv-ktx = "1.2.16"
documentfile = "1.0.1"
eventbus = "3.3.1"
[libraries]
mmkv-ktx = { group = "com.github.DylanCaiCoding", name = "MMKV-KTX", version.ref = "mmkv-ktx" }
documentfile = { group = "androidx.documentfile", name = "documentfile", version.ref = "documentfile" }
eventbus = { group = "org.greenrobot", name = "eventbus", version.ref = "eventbus" }