Skip to content

Commit 4e6cc64

Browse files
committed
Move jvm files to jvmAndNative where appropriate
1 parent 6115504 commit 4e6cc64

File tree

41 files changed

+70
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+70
-13
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
kotlin-version = "2.0.21"
33
dokka-version = "1.9.10"
44

5-
aws-kotlin-repo-tools-version = "0.4.14-kn"
5+
aws-kotlin-repo-tools-version = "0.4.15-kn-SNAPSHOT"
66

77
# libs
88
coroutines-version = "1.9.0"

runtime/crt-util/build.gradle.kts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,29 @@ extra["moduleName"] = "aws.smithy.kotlin.runtime.crt"
1111

1212
kotlin {
1313
sourceSets {
14-
jvmMain {
14+
commonMain {
15+
dependencies {
16+
api(project(":runtime:runtime-core"))
17+
api(libs.crt.kotlin)
18+
}
19+
}
20+
21+
jvmAndNativeMain {
1522
dependencies {
1623
api(project(":runtime:runtime-core"))
1724
api(libs.crt.kotlin)
1825
api(project(":runtime:protocol:http"))
1926
}
2027
}
21-
jvmTest {
28+
29+
// nativeMain {
30+
// dependencies {
31+
// api(project(":runtime:runtime-core"))
32+
// api(libs.crt.kotlin)
33+
// }
34+
// }
35+
36+
jvmAndNativeTest {
2237
dependencies {
2338
implementation(libs.kotlinx.coroutines.test)
2439
}

0 commit comments

Comments
 (0)