File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,19 @@ fun Project.configureKmpTargets() {
109109
110110 if (NATIVE_ENABLED ) {
111111 if ((hasApple || hasDesktop) && HostManager .hostIsMac) {
112- kmpExt.apply { configureApple() }
112+ if (group == " aws.sdk.kotlin.crt" ) {
113+ kmpExt.apply { configureApple() }
114+ } else {
115+ println (" Skipping configuration of Apple targets for unsupported project: $group " )
116+ }
113117 }
114118 if ((hasWindows || hasDesktop) && HostManager .hostIsMingw) {
115- kmpExt.apply { configureWindows() }
119+ if (group == " aws.sdk.kotlin.crt" ) {
120+ kmpExt.apply { configureWindows() }
121+ } else {
122+ println (" Skipping configuration of Windows target for unsupported project: $group " )
123+ }
124+
116125 }
117126 if ((hasLinux || hasDesktop) && HostManager .hostIsLinux) {
118127 if (group == " aws.sdk.kotlin.crt" ) { // TODO Remove special-casing once K/N is released across the entire project
You can’t perform that action at this time.
0 commit comments