Skip to content

Commit 3374a27

Browse files
authored
Merge pull request #624 from NordicSemiconductor/dependencies
Dependencies updated
2 parents dd43dbb + 8b60529 commit 3374a27

File tree

9 files changed

+49
-33
lines changed

9 files changed

+49
-33
lines changed

ble-common/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ plugins {
44

55
android {
66
namespace 'no.nordicsemi.android.ble.common'
7-
compileSdk 35
7+
compileSdk 36
88

99
defaultConfig {
1010
minSdk 18
11-
targetSdk 35
11+
targetSdk 36
1212
}
1313

1414
buildTypes {

ble-ktx/build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id 'com.android.library'
35
id 'kotlin-android'
46
}
57

68
android {
79
namespace 'no.nordicsemi.android.ble.ktx'
8-
compileSdk 35
10+
compileSdk 36
911

1012
defaultConfig {
1113
minSdk 18
12-
targetSdk 35
14+
targetSdk 36
1315
}
1416

1517
buildTypes {
@@ -31,14 +33,16 @@ android {
3133
targetCompatibility JavaVersion.VERSION_17
3234
}
3335

34-
kotlinOptions {
35-
jvmTarget = JavaVersion.VERSION_17.toString()
36+
kotlin {
37+
compilerOptions {
38+
jvmTarget = JvmTarget.JVM_17
39+
}
3640
}
3741
}
3842

3943
dependencies {
4044
api project(':ble')
41-
api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1'
45+
api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
4246
}
4347

4448
// === Maven Central configuration ===

ble-livedata/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ plugins {
44

55
android {
66
namespace 'no.nordicsemi.android.ble.livedata'
7-
compileSdk 35
7+
compileSdk 36
88

99
defaultConfig {
1010
minSdk 18
11-
targetSdk 35
11+
targetSdk 36
1212
}
1313

1414
buildTypes {

ble/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ plugins {
44

55
android {
66
namespace 'no.nordicsemi.android.ble'
7-
compileSdk 35
7+
compileSdk 36
88

99
defaultConfig {
1010
minSdk 18
11-
targetSdk 35
11+
targetSdk 36
1212
}
1313

1414
buildTypes {

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
// https://kotlinlang.org/docs/releases.html#release-details
3-
ext.kotlin_version = '2.1.21'
3+
ext.kotlin_version = '2.2.0'
44
// https://plugins.gradle.org/plugin/io.github.gradle-nexus.publish-plugin
55
ext.gradle_nexus_publish_plugin = '2.0.0'
66

@@ -11,12 +11,12 @@ buildscript {
1111
maven { url "https://plugins.gradle.org/m2/" }
1212
}
1313
dependencies {
14-
classpath 'com.android.tools.build:gradle:8.10.1'
14+
classpath 'com.android.tools.build:gradle:8.11.0'
1515
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1616
classpath "org.jetbrains.kotlin:compose-compiler-gradle-plugin:$kotlin_version"
17-
classpath "com.google.dagger:hilt-android-gradle-plugin:2.54"
17+
classpath "com.google.dagger:hilt-android-gradle-plugin:2.56.2"
1818
classpath "io.github.gradle-nexus:publish-plugin:$gradle_nexus_publish_plugin"
19-
classpath "com.squareup.wire:wire-gradle-plugin:5.1.0"
19+
classpath "com.squareup.wire:wire-gradle-plugin:5.3.3"
2020
}
2121
}
2222

examples/ble-gatt-client/build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id 'com.android.application'
35
id 'kotlin-android'
46
}
57

68
android {
79
namespace 'no.nordicsemi.android.ble.ble_gatt_client'
8-
compileSdk 35
10+
compileSdk 36
911

1012
defaultConfig {
1113
applicationId "no.nordicsemi.android.ble.ble_gatt_client"
1214
minSdk 27
13-
targetSdk 35
15+
targetSdk 36
1416
versionCode 1
1517
versionName "1.0"
1618

@@ -33,8 +35,10 @@ android {
3335
targetCompatibility JavaVersion.VERSION_17
3436
}
3537

36-
kotlinOptions {
37-
jvmTarget = JavaVersion.VERSION_17.toString()
38+
kotlin {
39+
compilerOptions {
40+
jvmTarget = JvmTarget.JVM_17
41+
}
3842
}
3943
}
4044

examples/ble-gatt-server/build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id 'com.android.application'
35
id 'kotlin-android'
46
}
57

68
android {
79
namespace 'no.nordicsemi.android.ble.ble_gatt_server'
8-
compileSdk 35
10+
compileSdk 36
911

1012
defaultConfig {
1113
applicationId "no.nordicsemi.android.ble.ble_gatt_server"
1214
minSdk 27
13-
targetSdk 35
15+
targetSdk 36
1416
versionCode 1
1517
versionName "1.0"
1618

@@ -33,8 +35,10 @@ android {
3335
targetCompatibility JavaVersion.VERSION_17
3436
}
3537

36-
kotlinOptions {
37-
jvmTarget = JavaVersion.VERSION_17.toString()
38+
kotlin {
39+
compilerOptions {
40+
jvmTarget = JvmTarget.JVM_17
41+
}
3842
}
3943
}
4044

examples/trivia/build.gradle

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
id 'com.android.application'
35
id 'kotlin-android'
@@ -10,12 +12,12 @@ plugins {
1012

1113
android {
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
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Aug 27 10:46:52 CEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)