Skip to content

Commit 0f1232f

Browse files
build: upgrade dependencies
1 parent 0a0544c commit 0f1232f

1 file changed

Lines changed: 26 additions & 28 deletions

File tree

app/build.gradle.kts

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
13
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
24

35
plugins {
4-
id("com.android.application") version "8.13.0"
5-
id("org.jetbrains.kotlin.android") version "2.2.21"
6-
id("org.jetbrains.kotlin.plugin.compose") version "2.1.10"
7-
id("org.jetbrains.kotlin.plugin.serialization") version "2.1.10"
8-
id("com.google.protobuf") version "0.9.4"
9-
id("org.jlleitschuh.gradle.ktlint") version "12.1.2"
6+
id("com.android.application") version "8.13.2"
7+
id("org.jetbrains.kotlin.android") version "2.3.10"
8+
id("org.jetbrains.kotlin.plugin.compose") version "2.3.10"
9+
id("org.jetbrains.kotlin.plugin.serialization") version "2.3.10"
10+
id("com.google.protobuf") version "0.9.6"
11+
id("org.jlleitschuh.gradle.ktlint") version "14.0.1"
1012
}
1113

1214
// This is the version of the app that is displayed in the UI on the drawer.
@@ -42,53 +44,49 @@ android {
4244
sourceCompatibility = JavaVersion.VERSION_17
4345
targetCompatibility = JavaVersion.VERSION_17
4446
}
47+
}
4548

46-
kotlinOptions {
47-
jvmTarget = "17"
49+
tasks.withType<KotlinCompile> {
50+
compilerOptions {
51+
jvmTarget.set(JvmTarget.JVM_17)
4852
}
4953
}
5054

5155
dependencies {
5256
// Basic android dependencies
53-
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.23")
54-
implementation("androidx.core:core-ktx:1.13.1")
55-
implementation("com.google.android.material:material:1.12.0")
56-
implementation("androidx.datastore:datastore:1.1.1")
57-
implementation("com.google.protobuf:protobuf-javalite:3.18.0")
58-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
59-
implementation("androidx.core:core-splashscreen:1.0.1")
57+
implementation("androidx.core:core-ktx:1.17.0")
58+
implementation("com.google.android.material:material:1.13.0")
59+
implementation("androidx.datastore:datastore:1.2.0")
60+
implementation("com.google.protobuf:protobuf-javalite:4.33.5")
61+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.10.0")
62+
implementation("androidx.core:core-splashscreen:1.2.0")
6063

6164
// Jetpack Compose
6265
// Adding the Bill of Materials synchronizes dependencies in the androidx.compose namespace
6366
// You can remove the library version in your dependency declarations
64-
implementation(platform("androidx.compose:compose-bom:2025.02.00"))
67+
implementation(platform("androidx.compose:compose-bom:2026.02.00"))
6568
implementation("androidx.compose.animation:animation")
6669
implementation("androidx.compose.ui:ui-tooling")
6770
implementation("androidx.compose.ui:ui")
6871
implementation("androidx.compose.material3:material3")
6972
implementation("androidx.activity:activity-compose")
70-
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.5")
71-
implementation("androidx.constraintlayout:constraintlayout-compose:1.0.1")
72-
implementation("androidx.navigation:navigation-compose:2.8.0")
73-
implementation("com.google.accompanist:accompanist-systemuicontroller:0.23.1")
73+
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.10.0")
74+
implementation("androidx.navigation:navigation-compose:2.9.7")
7475

7576
// Icons
7677
implementation("androidx.compose.material:material-icons-extended:1.7.8")
77-
implementation("com.composables:icons-lucide:1.0.0")
78-
79-
// Toolbar
80-
implementation("androidx.appcompat:appcompat:1.7.0")
78+
implementation("com.composables:icons-lucide:1.1.0")
8179

8280
// Bitcoin Development Kit
8381
implementation("org.bitcoindevkit:bdk-android:2.2.0")
8482

8583
// QR codes
86-
implementation("com.google.zxing:core:3.5.3")
84+
implementation("com.google.zxing:core:3.5.4")
8785

8886
// Tests
8987
testImplementation("junit:junit:4.13.2")
90-
androidTestImplementation("androidx.test.ext:junit:1.2.1")
91-
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
88+
androidTestImplementation("androidx.test.ext:junit:1.3.0")
89+
androidTestImplementation("androidx.test.espresso:espresso-core:3.7.0")
9290
}
9391

9492
protobuf {
@@ -108,7 +106,7 @@ protobuf {
108106
}
109107

110108
ktlint {
111-
version = "1.5.0"
109+
version = "1.8.0"
112110
ignoreFailures = false
113111
reporters {
114112
reporter(ReporterType.PLAIN).apply { outputToConsole = true }

0 commit comments

Comments
 (0)