Skip to content

Commit 623869d

Browse files
authored
fix: add hasJvmAndNative as an additional enabler of hasNative (#115)
1 parent 4f1e17b commit 623869d

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
@@ -33,7 +33,7 @@ val Project.hasCommon: Boolean get() = files.any {
3333

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

0 commit comments

Comments
 (0)