From 3af60dd61b98536f9a9eae8f29c683f89d2b95fd Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Fri, 30 Aug 2024 18:27:23 +0200 Subject: [PATCH 1/2] Fix example project --- example/MultiplatformExample/androidApp/build.gradle.kts | 1 + example/MultiplatformExample/person/build.gradle.kts | 1 + example/MultiplatformExample/shared/build.gradle.kts | 1 + 3 files changed, 3 insertions(+) diff --git a/example/MultiplatformExample/androidApp/build.gradle.kts b/example/MultiplatformExample/androidApp/build.gradle.kts index 3b4129673..c680dd91d 100644 --- a/example/MultiplatformExample/androidApp/build.gradle.kts +++ b/example/MultiplatformExample/androidApp/build.gradle.kts @@ -11,6 +11,7 @@ android { targetSdk = 34 versionCode = 1 versionName = "1.0" + namespace = "com.example.myapplication.android" } buildTypes { getByName("release") { diff --git a/example/MultiplatformExample/person/build.gradle.kts b/example/MultiplatformExample/person/build.gradle.kts index 1a2f794f4..e2321bedd 100644 --- a/example/MultiplatformExample/person/build.gradle.kts +++ b/example/MultiplatformExample/person/build.gradle.kts @@ -49,6 +49,7 @@ android { defaultConfig { minSdk = 21 targetSdk = 34 + namespace = "com.example.person" } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 diff --git a/example/MultiplatformExample/shared/build.gradle.kts b/example/MultiplatformExample/shared/build.gradle.kts index bf1b9e841..3bbca1145 100644 --- a/example/MultiplatformExample/shared/build.gradle.kts +++ b/example/MultiplatformExample/shared/build.gradle.kts @@ -78,6 +78,7 @@ android { defaultConfig { minSdk = 21 targetSdk = 34 + namespace = "com.example.ktorfittest" } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 From 9ee3dac3c36977e094c9f025f699d0df2fa6b054 Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Fri, 30 Aug 2024 18:28:16 +0200 Subject: [PATCH 2/2] Fix example project --- example/MultiplatformExample/person/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/MultiplatformExample/person/build.gradle.kts b/example/MultiplatformExample/person/build.gradle.kts index e2321bedd..092634140 100644 --- a/example/MultiplatformExample/person/build.gradle.kts +++ b/example/MultiplatformExample/person/build.gradle.kts @@ -9,7 +9,7 @@ val ktorVersion = "2.3.11" kotlin { jvmToolchain(8) - targetHierarchy.default() + applyDefaultHierarchyTemplate() jvm() androidTarget()