1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13plugins {
24 id ' com.android.application'
35 id ' kotlin-android'
@@ -10,12 +12,12 @@ plugins {
1012
1113android {
1214 namespace ' no.nordicsemi.android.ble.trivia'
13- compileSdk 35
15+ compileSdk 36
1416
1517 defaultConfig {
1618 applicationId " no.nordicsemi.android.ble.trivia"
1719 minSdk 21
18- targetSdk 35
20+ targetSdk 36
1921 versionCode 1
2022 versionName " 1.0"
2123 }
@@ -31,8 +33,10 @@ android {
3133 sourceCompatibility JavaVersion . VERSION_17
3234 targetCompatibility JavaVersion . VERSION_17
3335 }
34- kotlinOptions {
35- jvmTarget = JavaVersion . VERSION_17 . toString()
36+ kotlin {
37+ compilerOptions {
38+ jvmTarget = JvmTarget . JVM_17
39+ }
3640 }
3741 buildFeatures {
3842 compose true
@@ -65,7 +69,7 @@ dependencies {
6569 implementation ' no.nordicsemi.android.common:navigation:2.4.0'
6670
6771 // Jetpack Compose bom
68- implementation platform(' androidx.compose:compose-bom:2025.06.00 ' )
72+ implementation platform(' androidx.compose:compose-bom:2025.06.01 ' )
6973
7074 // Text, color, Surface
7175 implementation " androidx.compose.material3:material3"
@@ -79,13 +83,13 @@ dependencies {
7983 // Retrofit
8084 implementation ' com.squareup.retrofit2:retrofit:3.0.0'
8185 implementation ' com.squareup.retrofit2:converter-moshi:3.0.0'
82- implementation ' com.squareup.okhttp3:okhttp:4.12 .0'
86+ implementation ' com.squareup.okhttp3:okhttp:5.0 .0'
8387 // https://square.github.io/okhttp/changelog/
84- implementation ' com.squareup.okhttp3:logging-interceptor:4.12 .0'
88+ implementation ' com.squareup.okhttp3:logging-interceptor:5.0 .0'
8589
8690 // parse JSON
87- implementation ' com.squareup.moshi:moshi-kotlin:1.15.1 '
91+ implementation ' com.squareup.moshi:moshi-kotlin:1.15.2 '
8892 // Note: Switching to KSP doesn't work with hilt 2.47 and 2.48:
8993 // https://github.com/google/dagger/issues/3965
90- kapt ' com.squareup.moshi:moshi-kotlin-codegen:1.15.1 '
94+ kapt ' com.squareup.moshi:moshi-kotlin-codegen:1.15.2 '
9195}
0 commit comments