@@ -40,18 +40,17 @@ mavenPublishing {
4040}
4141
4242kotlin {
43- // TODO: Migrate Stream Log to KMP
44- // listOf(
45- // iosX64(),
46- // iosArm64(),
47- // iosSimulatorArm64(),
48- // macosArm64(),
49- // macosX64(),
50- // ).forEach {
51- // it.binaries.framework {
52- // baseName = "common"
53- // }
54- // }
43+ listOf (
44+ iosX64(),
45+ iosArm64(),
46+ iosSimulatorArm64(),
47+ macosArm64(),
48+ macosX64(),
49+ ).forEach {
50+ it.binaries.framework {
51+ baseName = " common"
52+ }
53+ }
5554
5655 androidTarget {
5756 publishLibraryVariants(" release" )
@@ -69,8 +68,12 @@ kotlin {
6968 all {
7069 languageSettings.optIn(" kotlin.contracts.ExperimentalContracts" )
7170 }
72- val commonMain by getting {
71+ commonMain {
7372 dependencies {
73+ api(project(" :stream-result" ))
74+
75+ implementation(libs.kotlinx.coroutines)
76+ implementation(libs.stream.log)
7477 }
7578 }
7679 }
@@ -91,18 +94,13 @@ android {
9194 targetCompatibility = JavaVersion .VERSION_11
9295 }
9396}
94-
95- dependencies {
96- api(project(" :stream-result" ))
97-
98- implementation(libs.kotlinx.coroutines)
99- implementation(libs.stream.log)
100- testImplementation(libs.testing.kluent)
101- testImplementation(libs.testing.coroutines.test)
102- testImplementation(libs.testing.mockito)
103- testImplementation(libs.testing.mockito.kotlin)
104- testImplementation(libs.testing.mockito.kotlin)
105- testImplementation(libs.androidx.test.junit)
106- testImplementation(" org.junit.jupiter:junit-jupiter-api:5.11.0" )
107- testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.11.0" )
108- }
97+ dependencies {
98+ testImplementation(libs.testing.kluent)
99+ testImplementation(libs.testing.coroutines.test)
100+ testImplementation(libs.testing.mockito)
101+ testImplementation(libs.testing.mockito.kotlin)
102+ testImplementation(libs.testing.mockito.kotlin)
103+ testImplementation(libs.androidx.test.junit)
104+ testImplementation(" org.junit.jupiter:junit-jupiter-api:5.11.0" )
105+ testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.11.0" )
106+ }
0 commit comments