From 64d2cff6efc52032ab3f2023d95ab38af108ab88 Mon Sep 17 00:00:00 2001 From: michaelbel Date: Thu, 8 Aug 2024 21:23:50 +0300 Subject: [PATCH] Compile SDK 35 --- .../org/michaelbel/movies/settings/ktx/AppVersionDataKtx.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/settings-impl/src/androidMain/kotlin/org/michaelbel/movies/settings/ktx/AppVersionDataKtx.kt b/feature/settings-impl/src/androidMain/kotlin/org/michaelbel/movies/settings/ktx/AppVersionDataKtx.kt index 6f4aadcb1..6bad0e6c2 100644 --- a/feature/settings-impl/src/androidMain/kotlin/org/michaelbel/movies/settings/ktx/AppVersionDataKtx.kt +++ b/feature/settings-impl/src/androidMain/kotlin/org/michaelbel/movies/settings/ktx/AppVersionDataKtx.kt @@ -18,7 +18,7 @@ private val Context.packageInfo: PackageInfo } internal val Context.versionName: String - get() = packageInfo.versionName + get() = packageInfo.versionName.orEmpty() internal val Context.versionCode: Long get() = if (Build.VERSION.SDK_INT >= 28) packageInfo.longVersionCode else packageInfo.versionCode.toLong() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 432a39aad..e9e54fe16 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] min-sdk = "23" -compile-sdk = "34" +compile-sdk = "35" target-sdk = "34" jdk = "17" agp = "8.4.2"