aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-09-11 13:38:19 -0600
committerIván Ávalos <avalos@disroot.org>2023-09-11 13:38:19 -0600
commitfa2a7a8dd35e6d066022239f4da9cd5ddc54a229 (patch)
tree2795643d230e54d6abf7a7dacd460891aaa810eb /shared
parent0c61b3bb0bc4e91835572d0fb43a862e8759e4ca (diff)
downloadetbsa-trackermap-mobile-fa2a7a8dd35e6d066022239f4da9cd5ddc54a229.tar.gz
etbsa-trackermap-mobile-fa2a7a8dd35e6d066022239f4da9cd5ddc54a229.tar.bz2
etbsa-trackermap-mobile-fa2a7a8dd35e6d066022239f4da9cd5ddc54a229.zip
[android] Upgrade AGP, Kotlin plugin, JDK + StateFlow fixes
Diffstat (limited to 'shared')
-rw-r--r--shared/build.gradle.kts7
1 files changed, 4 insertions, 3 deletions
diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts
index 960c51d..c47336d 100644
--- a/shared/build.gradle.kts
+++ b/shared/build.gradle.kts
@@ -8,7 +8,9 @@ kotlin {
val ktor_version = "1.6.6"
val settings_version = "0.8.1"
- android()
+ androidTarget()
+
+ jvmToolchain(20)
listOf(
iosX64(),
@@ -56,11 +58,10 @@ kotlin {
}
android {
- compileSdk = 31
+ compileSdk = 34
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
defaultConfig {
minSdk = 21
- targetSdk = 31
ndk {
abiFilters.clear()
abiFilters += listOf("armeabi-v7a", "arm64-v8a")