From bcc1025b24da264651f35626be2fc1e1e61a2975 Mon Sep 17 00:00:00 2001 From: Vasya Drobushkov Date: Wed, 27 Nov 2024 07:52:00 +0100 Subject: [PATCH] Update build.gradle.kts --- shared/build.gradle.kts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index bfa822d..aee5e53 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -30,7 +30,11 @@ kotlin { } sourceSets { - val commonMain by getting + val commonMain by getting { + dependencies { + implementation(libs.androidx.compose.runtime) + } + } val commonTest by getting { dependencies { implementation(kotlin("test-common")) @@ -62,11 +66,7 @@ kotlin { iosArm64Test.dependsOn(this) //iosSimulatorArm64Test.dependsOn(this) } - val jvmMain by getting { - dependencies { - implementation(libs.androidx.compose.runtime) - } - } + val jvmMain by getting val jvmTest by getting { dependencies { implementation(kotlin("test-junit")) @@ -84,11 +84,11 @@ kotlin { } android { - compileSdk = 34 + compileSdk = 35 sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") defaultConfig { minSdk = 24 - targetSdk = 34 + targetSdk = 35 } kotlin { jvmToolchain(17)