From 85d516fe4b25b09ead61b6ee64177f6309a19228 Mon Sep 17 00:00:00 2001 From: Christoph Maurhofer Date: Thu, 10 Jul 2025 08:05:30 +0200 Subject: [PATCH] Update to Kotlin 2.2.0 and AGP 8.11.0 --- android/build.gradle | 10 +++++----- android/gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 8357f94..ac70487 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,8 +17,8 @@ buildscript { } ext{ - agp_version = "8.8.1" - kotlin_version = "2.1.10" + agp_version = "8.11.0" + kotlin_version = "2.2.0" ubiqueUrl = System.getenv('UB_ARTIFACTORY_URL_ANDROID') ?: readPropertyWithDefault('ubiqueMavenUrl', '') ubiqueUser = System.getenv('UB_ARTIFACTORY_USER') ?: readPropertyWithDefault('ubiqueMavenUser', '') @@ -64,11 +64,11 @@ import com.vanniktech.maven.publish.SonatypeHost android { namespace "io.openmobilemaps.gps" - compileSdkVersion 34 + compileSdkVersion 35 defaultConfig { minSdkVersion 26 - targetSdkVersion 34 + targetSdkVersion 35 versionCode Integer.parseInt(VERSION_CODE) versionName VERSION_NAME @@ -204,7 +204,7 @@ mavenPublishing { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.13.1' + implementation 'androidx.core:core-ktx:1.16.0' implementation 'com.google.android.gms:play-services-location:21.3.0' api 'io.openmobilemaps:mapscore:3.3.0' diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index abfd683..e84ebae 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -13,4 +13,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip \ No newline at end of file +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip \ No newline at end of file