mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-12-12 00:33:43 +08:00
chore: migrate to version catalog, Gropify
This commit is contained in:
47
gradle/libs.versions.toml
Normal file
47
gradle/libs.versions.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
[versions]
|
||||
agp = "8.13.1"
|
||||
androidx-compose-android = "1.9.4"
|
||||
kotlin-multiplatform = "2.2.21"
|
||||
jetbrains-compose = "1.9.3"
|
||||
maven-publish = "0.35.0"
|
||||
androidx-activity = "1.11.0"
|
||||
androidx-core-ktx = "1.17.0"
|
||||
androidx-appcompat = "1.7.1"
|
||||
# noinspection GradleDependency
|
||||
material = "1.11.0"
|
||||
junit = "4.13.2"
|
||||
androidx-test-ext-junit = "1.3.0"
|
||||
androidx-test-espresso-core = "3.7.0"
|
||||
betterandroid-ui-component = "1.0.8"
|
||||
betterandroid-ui-extension = "1.0.7"
|
||||
betterandroid-system-extension = "1.0.3"
|
||||
betterandroid-compose-extension = "1.0.2"
|
||||
betterandroid-compose-multiplatform = "0.1.0"
|
||||
|
||||
[plugins]
|
||||
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin-multiplatform" }
|
||||
jetbrains-compose = { id = "org.jetbrains.compose", version.ref = "jetbrains-compose" }
|
||||
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin-multiplatform" }
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
android-library = { id = "com.android.library", version.ref = "agp" }
|
||||
maven-publish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" }
|
||||
|
||||
[libraries]
|
||||
composeExt-material-ripple = { module = "org.jetbrains.compose.material:material-ripple", version.ref = "jetbrains-compose" }
|
||||
# Use a placeholder for the android compose version
|
||||
# In the project to use "androidx.compose.android.version" to obtain the version
|
||||
# and use the "resolutionStrategy" to replace all the current "stable" versions
|
||||
androidx-compose-android = { module = "androidx.compose.runtime:runtime-android", version.ref = "androidx-compose-android" }
|
||||
betterandroid-ui-component = { module = "com.highcapable.betterandroid:ui-component", version.ref = "betterandroid-ui-component" }
|
||||
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" }
|
||||
betterandroid-compose-extension = { module = "com.highcapable.betterandroid:compose-extension", version.ref = "betterandroid-compose-extension" }
|
||||
betterandroid-compose-multiplatform = { module = "com.highcapable.betterandroid:compose-multiplatform", version.ref = "betterandroid-compose-multiplatform" }
|
||||
androidx-activity = { module = "androidx.activity:activity", version.ref = "androidx-activity" }
|
||||
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" }
|
||||
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx-core-ktx" }
|
||||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
|
||||
material = { module = "com.google.android.material:material", version.ref = "material" }
|
||||
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,78 +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:
|
||||
org.jetbrains.kotlin.multiplatform:
|
||||
alias: kotlin-multiplatform
|
||||
version: 2.2.10
|
||||
org.jetbrains.compose:
|
||||
alias: jetbrains-compose
|
||||
version: 1.8.2
|
||||
org.jetbrains.kotlin.plugin.compose:
|
||||
alias: compose-compiler
|
||||
version-ref: kotlin-multiplatform
|
||||
com.android.application:
|
||||
alias: android-application
|
||||
version: 8.12.1
|
||||
com.android.library:
|
||||
alias: android-library
|
||||
version-ref: android-application
|
||||
com.vanniktech.maven.publish:
|
||||
alias: maven-publish
|
||||
version: 0.34.0
|
||||
|
||||
libraries:
|
||||
org.jetbrains.compose.material:
|
||||
material-ripple:
|
||||
alias: composeExt-material-ripple
|
||||
version-ref: <plugins>::jetbrains-compose
|
||||
# Use a placeholder for the android compose version
|
||||
# In the project to use "androidx.compose.android.version" to obtain the version
|
||||
# and use the "resolutionStrategy" to replace all the current "stable" versions
|
||||
androidx.compose.runtime:
|
||||
runtime-android:
|
||||
alias: androidx-compose-android
|
||||
version: 1.9.0
|
||||
com.highcapable.betterandroid:
|
||||
ui-component:
|
||||
version: 1.0.8
|
||||
ui-extension:
|
||||
version: 1.0.7
|
||||
system-extension:
|
||||
version: 1.0.3
|
||||
compose-extension:
|
||||
version: 1.0.2
|
||||
compose-multiplatform:
|
||||
version: 0.1.0
|
||||
androidx.activity:
|
||||
activity:
|
||||
version: 1.10.1
|
||||
activity-compose:
|
||||
version: 1.10.1
|
||||
androidx.core:
|
||||
core-ktx:
|
||||
version: 1.17.0
|
||||
androidx.appcompat:
|
||||
appcompat:
|
||||
version: 1.7.1
|
||||
com.google.android.material:
|
||||
material:
|
||||
version: 1.12.0
|
||||
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