Skip to content

Commit e323ca7

Browse files
committed
Merge branch 'master' into feat/component-sync-ln-node
2 parents e51b6e5 + 631f239 commit e323ca7

File tree

3 files changed

+43
-40
lines changed

3 files changed

+43
-40
lines changed

app/build.gradle.kts

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,12 @@ android {
4040
targetSdk = 35
4141
versionCode = 1
4242
versionName = "0.0.1"
43-
resourceConfigurations += listOf(
44-
"en", // Default (English)
45-
"ar", // Arabic
46-
"ca", // Catalan
47-
"cs", // Czech
48-
"de", // German
49-
"el", // Greek
50-
"es", // Spanish (Spain)
51-
"fr", // French
52-
"it", // Italian
53-
"nl", // Dutch
54-
"pl", // Polish
55-
"pt", // Portuguese (Portugal)
56-
"ru", // Russian
57-
)
5843
testInstrumentationRunner = "to.bitkit.test.HiltTestRunner"
5944
vectorDrawables {
6045
useSupportLibrary = true
6146
}
6247
ndk {
48+
//noinspection ChromeOsAbiSupport
6349
abiFilters += "arm64-v8a"
6450
}
6551
}
@@ -105,12 +91,16 @@ android {
10591
buildConfig = true
10692
compose = true
10793
}
94+
androidResources {
95+
@Suppress("UnstableApiUsage")
96+
localeFilters.addAll(listOf("en", "ar", "ca", "cs", "de", "el", "es", "fr", "it", "nl", "pl", "pt", "ru"))
97+
}
10898
packaging {
10999
resources {
110100
excludes += "/META-INF/{AL2.0,LGPL2.1}"
101+
excludes += "META-INF/versions/9/OSGI-INF/MANIFEST.MF"
111102
}
112103
}
113-
@Suppress("UnstableApiUsage")
114104
testOptions {
115105
unitTests {
116106
isReturnDefaultValues = true // mockito
@@ -139,12 +129,12 @@ dependencies {
139129
implementation(libs.material)
140130
implementation(libs.datastore.preferences)
141131
implementation(libs.kotlinx.datetime)
142-
implementation("com.google.zxing:core:3.5.2")
143-
implementation("com.google.mlkit:barcode-scanning:17.3.0")
132+
implementation(libs.zxing)
133+
implementation(libs.barcode.scanning)
144134
// CameraX
145-
implementation("androidx.camera:camera-camera2:1.4.1")
146-
implementation("androidx.camera:camera-lifecycle:1.4.1")
147-
implementation("androidx.camera:camera-view:1.4.1")
135+
implementation(libs.camera.camera2)
136+
implementation(libs.camera.lifecycle)
137+
implementation(libs.camera.view)
148138
// Crypto
149139
implementation(libs.bouncycastle.provider.jdk)
150140
implementation(libs.ldk.node.android)
@@ -170,9 +160,9 @@ dependencies {
170160
debugImplementation(libs.compose.ui.tooling)
171161
debugImplementation(libs.compose.ui.test.manifest)
172162
androidTestImplementation(libs.compose.ui.test.junit4)
173-
implementation("com.google.accompanist:accompanist-pager-indicators:0.36.0")
174-
implementation("com.google.accompanist:accompanist-permissions:0.36.0")
175-
implementation("androidx.constraintlayout:constraintlayout-compose:1.1.0")
163+
implementation(libs.accompanist.pager.indicators)
164+
implementation(libs.accompanist.permissions)
165+
implementation(libs.constraintlayout.compose)
176166

177167
// Compose Navigation
178168
implementation(libs.navigation.compose)

gradle/libs.versions.toml

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,51 @@
11
[versions]
2-
activityCompose = "1.9.2"
3-
agp = "8.7.2"
2+
accompanistPermissions = "0.36.0"
3+
activityCompose = "1.10.1"
4+
agp = "8.9.1"
45
appcompat = "1.7.0"
5-
bouncyCastle = "1.78.1"
6-
composeBom = "2024.12.01" # https://developer.android.com/develop/ui/compose/bom/bom-mapping
6+
barcodeScanning = "17.3.0"
7+
bouncyCastle = "1.79"
8+
camera = "1.4.2"
9+
composeBom = "2025.03.01" # https://developer.android.com/develop/ui/compose/bom/bom-mapping
10+
constraintlayoutCompose = "1.1.1"
711
coreKtx = "1.15.0"
812
coreSplashscreen = "1.0.1"
9-
datastorePrefs = "1.1.1"
13+
datastorePrefs = "1.1.4"
1014
espressoCore = "3.6.1"
11-
firebaseBom = "33.2.0"
15+
firebaseBom = "33.11.0"
1216
googleServices = "4.4.2"
13-
hilt = "2.51.1"
17+
hilt = "2.55"
1418
hiltAndroidx = "1.2.0"
1519
jna = "5.14.0"
1620
junit = "4.13.2"
1721
junitExt = "1.2.1"
18-
kotlin = "2.0.20"
19-
kotlinxDatetime = "0.6.1"
20-
ksp = "2.0.20-1.0.25"
21-
ktor = "2.3.12"
22-
ldkNode = "0.4.2" # LDK_DB_VERSION in MirationService should match lib's sqlite DB version
23-
lifecycle = "2.8.5"
22+
kotlin = "2.1.10"
23+
kotlinxDatetime = "0.6.2"
24+
ksp = "2.1.10-1.0.31"
25+
ktor = "3.1.1"
26+
ldkNode = "0.4.2" # LDK_DB_VERSION in MigrationService should match lib's sqlite DB version
27+
lifecycle = "2.8.7"
2428
material = "1.12.0"
2529
mockitoKotlin = "5.4.0"
26-
navCompose = "2.8.0"
30+
navCompose = "2.8.9"
2731
robolectric = "4.14.1"
2832
room = "2.6.1"
2933
slf4j = "1.7.36"
3034
testAndroidx = "1.6.1"
3135
turbine = "1.0.0"
32-
workRuntimeKtx = "2.9.1"
36+
workRuntimeKtx = "2.10.0"
37+
zxing = "3.5.2"
3338

3439
[libraries]
40+
accompanist-pager-indicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanistPermissions" }
41+
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanistPermissions" }
3542
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
3643
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
44+
barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "barcodeScanning" }
3745
bouncycastle-provider-jdk = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncyCastle" }
46+
camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camera" }
47+
camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camera" }
48+
camera-view = { module = "androidx.camera:camera-view", version.ref = "camera" }
3849
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
3950
compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" }
4051
compose-material3 = { module = "androidx.compose.material3:material3" }
@@ -44,6 +55,7 @@ compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
4455
compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
4556
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
4657
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
58+
constraintlayout-compose = { module = "androidx.constraintlayout:constraintlayout-compose", version.ref = "constraintlayoutCompose" }
4759
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
4860
core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "coreSplashscreen" }
4961
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePrefs" }
@@ -89,6 +101,7 @@ test-mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.re
89101
test-robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
90102
test-turbine = { group = "app.cash.turbine", name = "turbine", version.ref = "turbine" }
91103
work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "workRuntimeKtx" }
104+
zxing = { module = "com.google.zxing:core", version.ref = "zxing" }
92105

93106
[plugins]
94107
android-application = { id = "com.android.application", version.ref = "agp" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon Mar 21 13:35:39 GMT 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)