Skip to content

Commit 58cd1a0

Browse files
committed
fix: add hasJvmAndNative as an additional enabler of hasNative
1 parent 60f21d6 commit 58cd1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp/ConfigureTargets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ val Project.hasCommon: Boolean get() = files.any {
3131

3232
// always configured with common
3333
val Project.hasJvm: Boolean get() = hasCommon || hasJvmAndNative || files.any { it.name == "jvm" }
34-
val Project.hasNative: Boolean get() = hasCommon || files.any { it.name == "native" }
34+
val Project.hasNative: Boolean get() = hasCommon || hasJvmAndNative || files.any { it.name == "native" }
3535
val Project.hasJs: Boolean get() = hasCommon || files.any { it.name == "js" }
3636
val Project.hasJvmAndNative: Boolean get() = hasCommon || files.any { it.name == "jvmAndNative" }
3737

0 commit comments

Comments
 (0)