File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -68,23 +68,29 @@ fun Project.configureKmpTargets() {
6868 // see https://kotlinlang.org/docs/multiplatform-hierarchy.html#see-the-full-hierarchy-template
6969 kmpExt.applyDefaultHierarchyTemplate {
7070 if (hasJvmAndNative) {
71- group(" jvmAndNative" ) {
72- withJvm()
73- withNative()
71+ common {
72+ group(" jvmAndNative" ) {
73+ withJvm()
74+ withNative()
75+ }
7476 }
7577 }
7678
7779 if (hasWindows) {
78- group(" windows" ) {
79- withMingw()
80+ common {
81+ group(" windows" ) {
82+ withMingw()
83+ }
8084 }
8185 }
8286
8387 if (hasDesktop) {
84- group(" desktop" ) {
85- withLinux()
86- withMingw()
87- withMacos()
88+ common {
89+ group(" desktop" ) {
90+ withLinux()
91+ withMingw()
92+ withMacos()
93+ }
8894 }
8995 }
9096 }
You can’t perform that action at this time.
0 commit comments