chore: use type safe project accessor in dependency block

This commit is contained in:
ACh Sulfate
2023-10-09 17:38:27 +08:00
parent 051ce2d13f
commit 732b6d81b2
3 changed files with 26 additions and 22 deletions

View File

@@ -14,7 +14,9 @@ android-tools = { module = "com.android.tools.build:gradle", version.ref = "agp"
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.7.0" }
androidx-browser = { module = "androidx.browser:browser", version = "1.6.0" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.1.4" }
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.3.1" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.12.0" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.6.1" }
eclipse-jgit = { module = "org.eclipse.jgit:org.eclipse.jgit", version = "6.7.0.202309050840-r" }
hiddenapibypass = { module = "org.lsposed.hiddenapibypass:hiddenapibypass", version = "4.3" }
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
@@ -39,6 +41,8 @@ sealedEnum-ksp = { module = "com.github.livefront.sealed-enum:ksp", version.ref
glide = { module = "com.github.bumptech.glide:glide", version = "4.16.0" }
byte-buddy = { module = "net.bytebuddy:byte-buddy", version = "1.14.8" }
dalvik-dx = { module = "com.jakewharton.android.repackaged:dalvik-dx", version = "11.0.0_r3" }
flatbuffers-java = { module = "com.google.flatbuffers:flatbuffers-java", version = "23.5.26" }
davemorrissey-subsampling-scale-image-view = { module = "com.davemorrissey.labs:subsampling-scale-image-view-androidx", version = "3.10.0" }
[plugins]
changelog = { id = "org.jetbrains.changelog", version = "2.2.0" }

View File

@@ -38,5 +38,5 @@ android {
}
dependencies {
implementation("com.google.flatbuffers:flatbuffers-java:23.5.26")
implementation(libs.flatbuffers.java)
}

View File

@@ -39,9 +39,9 @@ android {
}
dependencies {
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("com.google.android.material:material:1.9.0")
implementation("androidx.recyclerview:recyclerview:1.3.1")
implementation("com.github.bumptech.glide:glide:4.16.0")
implementation("com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0")
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.recyclerview)
implementation(libs.glide)
implementation(libs.davemorrissey.subsampling.scale.image.view)
}