File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,11 @@ fun Project.configureKmpTargets() {
115115 kmpExt.apply { configureWindows() }
116116 }
117117 if ((hasLinux || hasDesktop) && HostManager .hostIsLinux) {
118- kmpExt.apply { configureLinux() }
118+ if (group == " aws.sdk.kotlin.crt" ) {
119+ kmpExt.apply { configureLinux() }
120+ } else {
121+ kmpExt.apply { configureDummyLinux() }
122+ }
119123 }
120124 }
121125
@@ -165,7 +169,7 @@ fun Project.configureLinux() {
165169}
166170
167171/* *
168- * Dummy configuration for Linux which declares but does not actually configure any targets .
172+ * Dummy configuration for projects which need to declare Linux but not actually use them .
169173 * This is useful for projects that do not have any native targets but still need to be a KMP build (Dokka in particular).
170174 */
171175fun Project.configureDummyLinux () {
You can’t perform that action at this time.
0 commit comments