From 4d33b01488e5ec9eb9a21abdbcdb54860660b07e Mon Sep 17 00:00:00 2001 From: Naveen Katari Date: Thu, 11 Apr 2024 15:23:31 +0530 Subject: [PATCH] Update build.gradle.kts --- app/shared/build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/shared/build.gradle.kts b/app/shared/build.gradle.kts index e32d967..4220434 100644 --- a/app/shared/build.gradle.kts +++ b/app/shared/build.gradle.kts @@ -81,12 +81,12 @@ kotlin { registerPublish(libName, type = "Debug", repo, branch = "main") registerPublish(libName, type = "Release", repo, branch = "main") } + ios() sourceSets { - val commonTest by getting { - dependencies { - // Connect commonTest to main source set compilation - implementation(kotlin("test-common")) - } + val commonMain by getting + val commonTest by getting + commonTest { + dependsOn(commonMain) } } }