mirror of
https://github.com/BetterAndroid/PanguText.git
synced 2025-12-11 15:53:59 +08:00
chore: migrate to version catalog, Gropify
This commit is contained in:
42
gradle/libs.versions.toml
Normal file
42
gradle/libs.versions.toml
Normal file
@@ -0,0 +1,42 @@
|
||||
[versions]
|
||||
agp = "8.13.1"
|
||||
kotlin = "2.2.21"
|
||||
# noinspection NewerVersionAvailable
|
||||
dokka = "1.9.20"
|
||||
maven-publish = "0.35.0"
|
||||
betterandroid-ui-component = "1.0.8"
|
||||
betterandroid-ui-component-adapter = "1.0.0"
|
||||
betterandroid-ui-extension = "1.0.7"
|
||||
betterandroid-system-extension = "1.0.3"
|
||||
kavaref-core = "1.0.2"
|
||||
kavaref-extension = "1.0.1"
|
||||
androidx-core = "1.17.0"
|
||||
androidx-appcompat = "1.7.1"
|
||||
# noinspection GradleDependency
|
||||
material = "1.11.0"
|
||||
androidx-constraintlayout = "2.2.1"
|
||||
junit = "4.13.2"
|
||||
androidx-test-ext-junit = "1.3.0"
|
||||
androidx-test-espresso-core = "3.7.0"
|
||||
|
||||
[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" }
|
||||
kotlin-dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
|
||||
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" }
|
||||
|
||||
[libraries]
|
||||
betterandroid-ui-component = { module = "com.highcapable.betterandroid:ui-component", version.ref = "betterandroid-ui-component" }
|
||||
betterandroid-ui-component-adapter = { module = "com.highcapable.betterandroid:ui-component-adapter", version.ref = "betterandroid-ui-component-adapter" }
|
||||
betterandroid-ui-extension = { module = "com.highcapable.betterandroid:ui-extension", version.ref = "betterandroid-ui-extension" }
|
||||
betterandroid-system-extension = { module = "com.highcapable.betterandroid:system-extension", version.ref = "betterandroid-system-extension" }
|
||||
kavaref-core = { module = "com.highcapable.kavaref:kavaref-core", version.ref = "kavaref-core" }
|
||||
kavaref-extension = { module = "com.highcapable.kavaref:kavaref-extension", version.ref = "kavaref-extension" }
|
||||
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
|
||||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
|
||||
material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" }
|
||||
junit = { module = "junit:junit", version.ref = "junit" }
|
||||
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" }
|
||||
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-test-espresso-core" }
|
||||
@@ -1,70 +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:
|
||||
highcapable-maven-releases:
|
||||
url: https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/releases
|
||||
|
||||
plugins:
|
||||
com.android.application:
|
||||
alias: android-application
|
||||
version: 8.13.0
|
||||
com.android.library:
|
||||
alias: android-library
|
||||
version-ref: com.android.application
|
||||
org.jetbrains.kotlin.android:
|
||||
alias: kotlin-android
|
||||
version: 2.2.20
|
||||
org.jetbrains.dokka:
|
||||
alias: kotlin-dokka
|
||||
version: 1.9.20
|
||||
auto-update: false
|
||||
com.vanniktech.maven.publish:
|
||||
alias: maven-publish
|
||||
version: 0.34.0
|
||||
|
||||
libraries:
|
||||
com.highcapable.betterandroid:
|
||||
ui-component:
|
||||
version: 1.0.8
|
||||
ui-component-adapter:
|
||||
version: 1.0.0
|
||||
ui-extension:
|
||||
version: 1.0.7
|
||||
system-extension:
|
||||
version: 1.0.3
|
||||
com.highcapable.kavaref:
|
||||
kavaref-core:
|
||||
version: 1.0.2
|
||||
kavaref-extension:
|
||||
version: 1.0.1
|
||||
androidx.core:
|
||||
core:
|
||||
version: 1.17.0
|
||||
core-ktx:
|
||||
version-ref: <this>::core
|
||||
androidx.appcompat:
|
||||
appcompat:
|
||||
version: 1.7.1
|
||||
com.google.android.material:
|
||||
material:
|
||||
# Workaround for a bug in version 1.12.0
|
||||
version: 1.11.0
|
||||
auto-update: false
|
||||
androidx.constraintlayout:
|
||||
constraintlayout:
|
||||
version: 2.2.1
|
||||
junit:
|
||||
junit:
|
||||
version: 4.13.2
|
||||
androidx.test.ext:
|
||||
junit:
|
||||
version: 1.3.0
|
||||
androidx.test.espresso:
|
||||
espresso-core:
|
||||
version: 3.7.0
|
||||
Reference in New Issue
Block a user