diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..d28e7af --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +Klottr \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index b2c751a..74dd639 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,3 +1,4 @@ + diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9463ed6..61de039 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -7,7 +7,7 @@ plugins { id("org.jetbrains.kotlin.plugin.compose") id("com.android.application") kotlin("android") - id("com.google.devtools.ksp") version "2.0.21-1.0.26" + alias(libs.plugins.ksp) } // === Läs local.properties utan java.util.Properties === diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 044217a..87af099 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] agp = "8.12.2" -kotlin = "2.0.21" +kotlin = "2.1.21" coreKtx = "1.16.0" junit = "4.13.2" junitVersion = "1.3.0" @@ -14,7 +14,7 @@ runner = "1.5.2" core = "1.5.0" ktor = "3.2.3" kotlinxSerialization = "1.7.3" -ksp = "2.0.21-1.0.26" +ksp = "2.1.21-2.0.1" @@ -33,8 +33,8 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } androidx-material3 = { group = "androidx.compose.material3", name = "material3" } -kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlinStdlib" } -kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test", version.ref = "kotlinTest" } +kotlin-stdlib = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib", version.ref = "kotlin" } +kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test", version.ref = "kotlin" } androidx-runner = { group = "androidx.test", name = "runner", version.ref = "runner" } androidx-core = { group = "androidx.test", name = "core", version.ref = "core" } ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" } diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index fa42836..ae5a8fe 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework + plugins { alias(libs.plugins.android.kotlin.multiplatform.library) alias(libs.plugins.android.lint) @@ -34,22 +36,26 @@ kotlin { // project can be found here: // https://developer.android.com/kotlin/multiplatform/migrate val xcfName = "sharedKit" + val xcf = XCFramework() iosX64 { binaries.framework { baseName = xcfName + xcf.add(this) } } iosArm64 { binaries.framework { baseName = xcfName + xcf.add(this) } } iosSimulatorArm64 { binaries.framework { baseName = xcfName + xcf.add(this) } }