1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13plugins {
24 id ' com.android.application'
35 id ' org.jetbrains.kotlin.android'
46 id ' org.jetbrains.kotlin.plugin.compose'
57 id ' dagger.hilt.android.plugin'
68 id ' com.google.devtools.ksp'
79 id ' org.jetbrains.kotlin.plugin.serialization'
8- id " com.mikepenz.aboutlibraries.plugin.android" version " 13.1.0 "
10+ id " com.mikepenz.aboutlibraries.plugin.android" version " 13.2.1 "
911}
1012
1113String getGoogleApiKey () {
@@ -60,10 +62,6 @@ android {
6062 sourceCompatibility JavaVersion . VERSION_17
6163 targetCompatibility JavaVersion . VERSION_17
6264 }
63- kotlinOptions {
64- jvmTarget = ' 17'
65- freeCompilerArgs = [' -Xjvm-default=all-compatibility' ]
66- }
6765 composeCompiler {
6866 enableStrongSkippingMode = true
6967 }
@@ -87,9 +85,18 @@ android {
8785 }
8886 lint {
8987 abortOnError true
88+ disable " LocalContextGetResourceValueCall"
89+ }
90+ }
91+
92+ kotlin {
93+ compilerOptions {
94+ jvmTarget. set(JvmTarget . JVM_17 )
95+ freeCompilerArgs. add(" -Xjvm-default=all-compatibility" )
9096 }
9197}
9298
99+
93100aboutLibraries {
94101 export {
95102 // Remove the "generated" timestamp to allow for reproducible builds
@@ -98,17 +105,17 @@ aboutLibraries {
98105}
99106
100107dependencies {
101- def composeBom = platform(' androidx.compose:compose-bom:2025.11.00 ' )
108+ def composeBom = platform(' androidx.compose:compose-bom:2026.01.01 ' )
102109 implementation composeBom
103110 androidTestImplementation composeBom
104111
105112 // Android core components.
106113 implementation ' androidx.core:core-ktx:1.17.0'
107- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.9.4 '
108- implementation ' androidx.activity:activity-compose:1.11.0 '
109- implementation " androidx.lifecycle:lifecycle-viewmodel-compose:2.9.4 "
114+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.10.0 '
115+ implementation ' androidx.activity:activity-compose:1.12.3 '
116+ implementation " androidx.lifecycle:lifecycle-viewmodel-compose:2.10.0 "
110117 // TODO: Migrate to type-safe navigation.
111- implementation " androidx.navigation:navigation-compose:2.9.6 "
118+ implementation " androidx.navigation:navigation-compose:2.9.7 "
112119 // Jetpack compose.
113120 implementation " androidx.compose.ui:ui"
114121 implementation " androidx.compose.ui:ui-tooling-preview"
@@ -123,11 +130,11 @@ dependencies {
123130 // Android 12+ splash API.
124131 implementation ' androidx.core:core-splashscreen:1.2.0'
125132 // KotlinX Serialization library.
126- implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.9 .0"
127- implementation " org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.9 .0"
133+ implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.10 .0"
134+ implementation " org.jetbrains.kotlinx:kotlinx-serialization-protobuf:1.10 .0"
128135 // OkHttp library.
129- implementation " com.squareup.okhttp3:okhttp:5.3.0 "
130- implementation " com.squareup.okhttp3:logging-interceptor:5.3.0 "
136+ implementation " com.squareup.okhttp3:okhttp:5.3.2 "
137+ implementation " com.squareup.okhttp3:logging-interceptor:5.3.2 "
131138 // Coil Image loading library.
132139 implementation " io.coil-kt:coil-compose:2.7.0"
133140 // Room database components.
@@ -142,29 +149,29 @@ dependencies {
142149 ksp " com.google.dagger:hilt-android-compiler:$hilt_version "
143150 ksp " androidx.hilt:hilt-compiler:1.3.0"
144151 // Jsoup HTML Parser.
145- implementation " org.jsoup:jsoup:1.21.2 "
152+ implementation " org.jsoup:jsoup:1.22.1 "
146153 // Lottie animations.
147154 implementation " com.airbnb.android:lottie-compose:6.7.1"
148155 // TapTarget Compose
149156 implementation " com.pierfrancescosoffritti.taptargetcompose:core:1.2.1"
150157 // DataStore Preferences.
151- implementation(" androidx.datastore:datastore-preferences:1.1.7 " )
158+ implementation(" androidx.datastore:datastore-preferences:1.2.0 " )
152159 // Open Source Libraries Screen.
153- implementation " com.mikepenz:aboutlibraries-core:13.1.0 "
154- implementation " com.mikepenz:aboutlibraries-compose-m3:13.1.0 "
160+ implementation " com.mikepenz:aboutlibraries-core:13.2.1 "
161+ implementation " com.mikepenz:aboutlibraries-compose-m3:13.2.1 "
155162 // Swipe actions.
156163 implementation " me.saket.swipe:swipe:1.3.0"
157164 // Crash Handler.
158165 implementation ' cat.ereza:customactivityoncrash:2.4.0'
159166 // Kotlin reflect API.
160- implementation " org.jetbrains.kotlin:kotlin-reflect:2.2.0 "
167+ implementation " org.jetbrains.kotlin:kotlin-reflect:2.2.10 "
161168 // Testing components.
162169 testImplementation ' junit:junit:4.13.2'
163170 testImplementation " com.google.truth:truth:1.4.5"
164171 testImplementation ' org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2'
165- testImplementation ' org.junit.jupiter:junit-jupiter-api:6.0.1 '
166- testImplementation ' org.robolectric:robolectric:4.16'
167- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:6.0.1 '
172+ testImplementation ' org.junit.jupiter:junit-jupiter-api:6.0.2 '
173+ testImplementation ' org.robolectric:robolectric:4.16.1 '
174+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:6.0.2 '
168175 // Android testing components.
169176 androidTestImplementation ' androidx.test.ext:junit:1.3.0'
170177 androidTestImplementation ' androidx.test.espresso:espresso-core:3.7.0'
0 commit comments