Move datastore to version catalogs

This commit is contained in:
greenart7c3
2025-05-02 13:36:48 -03:00
parent 5f415e6c35
commit e17a7ec980
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -254,6 +254,6 @@ dependencies {
implementation libs.storage
implementation "androidx.datastore:datastore-preferences:1.1.4"
implementation "androidx.security:security-crypto:1.1.0-alpha07"
implementation libs.datastore.preferences
implementation libs.security.crypto
}
+3
View File
@@ -6,6 +6,7 @@ converterGson = "2.11.0"
core = "3.5.3"
coreKtx = "1.16.0"
coreSplashscreen = "1.0.1"
datastorePreferences = "1.1.4"
espressoCore = "3.6.1"
junit = "4.13.2"
junitVersion = "1.2.1"
@@ -32,6 +33,7 @@ adaptiveAndroid = "1.1.0"
materialIconsExtended = "1.7.8"
[libraries]
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePreferences" }
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
@@ -58,6 +60,7 @@ richtext-ui-material3 = { module = "com.github.vitorpamplona.compose-richtext:ri
room-compiler = { module = "androidx.room:room-compiler", version.ref = "roomKtx" }
room-ktx = { module = "androidx.room:room-ktx", version.ref = "roomKtx" }
runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata", version.ref = "compose_ui" }
security-crypto = { module = "androidx.security:security-crypto", version.ref = "securityCryptoKtx" }
security-crypto-ktx = { module = "androidx.security:security-crypto-ktx", version.ref = "securityCryptoKtx" }
ui = { module = "androidx.compose.ui:ui", version.ref = "compose_ui" }
ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose_ui" }