mirror of
https://github.com/fankes/ProjectPromote.git
synced 2025-12-11 15:53:49 +08:00
chore: migrate to version catalog, Gropify
This commit is contained in:
34
gradle/libs.versions.toml
Normal file
34
gradle/libs.versions.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
[versions]
|
||||
agp = "8.13.1"
|
||||
kotlin = "2.2.21"
|
||||
maven-publish = "0.35.0"
|
||||
markwon = "4.6.2"
|
||||
okhttp = "5.3.0"
|
||||
lifecycle = "2.9.4"
|
||||
core-ktx = "1.17.0"
|
||||
appcompat = "1.7.1"
|
||||
material = "1.13.0"
|
||||
constraintlayout = "2.2.1"
|
||||
junit-ext = "1.3.0"
|
||||
espresso = "3.7.0"
|
||||
junit = "4.13.2"
|
||||
|
||||
[plugins]
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
android-library = { id = "com.android.library", version.ref = "agp" }
|
||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" }
|
||||
|
||||
[libraries]
|
||||
markwon-core = { group = "io.noties.markwon", name = "core", version.ref = "markwon" }
|
||||
markwon-image = { group = "io.noties.markwon", name = "image", version.ref = "markwon" }
|
||||
markwon-html = { group = "io.noties.markwon", name = "html", version.ref = "markwon" }
|
||||
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
|
||||
lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" }
|
||||
core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
|
||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
||||
junit-ext = { group = "androidx.test.ext", name = "junit", version.ref = "junit-ext" }
|
||||
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" }
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
@@ -1,60 +0,0 @@
|
||||
preferences:
|
||||
autowire-on-sync-mode: UPDATE_OPTIONAL_DEPENDENCIES
|
||||
repositories-mode: FAIL_ON_PROJECT_REPOS
|
||||
|
||||
repositories:
|
||||
gradle-plugin-portal:
|
||||
scope: PLUGINS
|
||||
google:
|
||||
maven-central:
|
||||
jit-pack:
|
||||
|
||||
plugins:
|
||||
com.android.application:
|
||||
alias: android-application
|
||||
version: 8.13.0
|
||||
com.android.library:
|
||||
alias: android-library
|
||||
version-ref: android-application
|
||||
org.jetbrains.kotlin.android:
|
||||
alias: kotlin-android
|
||||
version: 2.2.10
|
||||
com.vanniktech.maven.publish:
|
||||
alias: maven-publish
|
||||
version: 0.34.0
|
||||
|
||||
libraries:
|
||||
io.noties.markwon:
|
||||
core:
|
||||
version: 4.6.2
|
||||
image:
|
||||
version-ref: <this>::core
|
||||
html:
|
||||
version-ref: <this>::core
|
||||
com.squareup.okhttp3:
|
||||
okhttp:
|
||||
version: 5.1.0
|
||||
androidx.lifecycle:
|
||||
lifecycle-runtime-ktx:
|
||||
version: 2.9.3
|
||||
androidx.core:
|
||||
core-ktx:
|
||||
version: 1.17.0
|
||||
androidx.appcompat:
|
||||
appcompat:
|
||||
version: 1.7.1
|
||||
com.google.android.material:
|
||||
material:
|
||||
version: 1.13.0
|
||||
androidx.constraintlayout:
|
||||
constraintlayout:
|
||||
version: 2.2.1
|
||||
androidx.test.ext:
|
||||
junit:
|
||||
version: 1.3.0
|
||||
androidx.test.espresso:
|
||||
espresso-core:
|
||||
version: 3.7.0
|
||||
junit:
|
||||
junit:
|
||||
version: 4.13.2
|
||||
Reference in New Issue
Block a user