publish all targets by default
This commit is contained in:
parent
7dc90b929d
commit
093d9a628b
@ -288,9 +288,7 @@ public class KScienceNativeConfiguration(private val project: Project) {
|
|||||||
|
|
||||||
internal companion object {
|
internal companion object {
|
||||||
private fun defaultNativeTargets(project: Project): Set<KScienceNativeTarget> =
|
private fun defaultNativeTargets(project: Project): Set<KScienceNativeTarget> =
|
||||||
if (project.isInDevelopment) {
|
when (val targets = project.requestPropertyOrNull("publishing.targets")) {
|
||||||
setOf(KScienceNativeTarget.linuxX64)
|
|
||||||
} else when (val targets = project.requestPropertyOrNull("publishing.targets")) {
|
|
||||||
null -> setOf(
|
null -> setOf(
|
||||||
KScienceNativeTarget.linuxX64,
|
KScienceNativeTarget.linuxX64,
|
||||||
KScienceNativeTarget.mingwX64,
|
KScienceNativeTarget.mingwX64,
|
||||||
|
Loading…
Reference in New Issue
Block a user