Skip to content

Commit 99c3e73

Browse files
committed
Add http-client-engine-crt dependency in nativeMain sourceset
1 parent 2cf1bfb commit 99c3e73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

runtime/protocol/http-client-engines/http-client-engine-default/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,28 @@ kotlin {
1616
implementation(project(":runtime:runtime-core"))
1717
}
1818
}
19+
1920
jvmMain {
2021
dependencies {
2122
// okhttp works on both JVM and Android
2223
implementation(project(":runtime:protocol:http-client-engines:http-client-engine-okhttp"))
2324
}
2425
}
26+
2527
jvmTest {
2628
dependencies {
2729
implementation(project(":runtime:protocol:http-client-engines:http-client-engine-crt"))
2830
}
2931
}
32+
3033
all {
3134
languageSettings.optIn("aws.smithy.kotlin.runtime.InternalApi")
3235
}
36+
37+
nativeMain {
38+
dependencies {
39+
implementation(project(":runtime:protocol:http-client-engines:http-client-engine-crt"))
40+
}
41+
}
3342
}
3443
}

0 commit comments

Comments
 (0)