publish all targets by default

This commit is contained in:
Alexander Nozik 2024-12-21 13:26:09 +03:00
parent 7dc90b929d
commit 093d9a628b

View File

@ -288,9 +288,7 @@ public class KScienceNativeConfiguration(private val project: Project) {
internal companion object {
private fun defaultNativeTargets(project: Project): Set<KScienceNativeTarget> =
if (project.isInDevelopment) {
setOf(KScienceNativeTarget.linuxX64)
} else when (val targets = project.requestPropertyOrNull("publishing.targets")) {
when (val targets = project.requestPropertyOrNull("publishing.targets")) {
null -> setOf(
KScienceNativeTarget.linuxX64,
KScienceNativeTarget.mingwX64,