diff --git a/STCore/build.gradle.kts b/STCore/build.gradle.kts index c6acb1f4..a9995772 100644 --- a/STCore/build.gradle.kts +++ b/STCore/build.gradle.kts @@ -6,10 +6,16 @@ plugins { id("infomaniak.publishPlugin") } +private val commonProject = project(":STCommon") + +kotlinMultiplatformConfig { + appleExportedProjects = listOf(commonProject) +} + kotlin { sourceSets { commonMain.dependencies { - implementation(project(":STCommon")) + api(commonProject) implementation(project(":STDatabase")) implementation(project(":STNetwork")) } diff --git a/STNetwork/build.gradle.kts b/STNetwork/build.gradle.kts index a7a8b95b..68ccbea3 100644 --- a/STNetwork/build.gradle.kts +++ b/STNetwork/build.gradle.kts @@ -10,7 +10,7 @@ plugins { kotlin { sourceSets { commonMain.dependencies { - api(project(":STCommon")) + implementation(project(":STCommon")) implementation(libs.ktor.client.core) implementation(libs.ktor.client.content.negociation) implementation(libs.ktor.client.json)