From 9f4eef1a1577a7113314a3e26fa5726fe31895bb Mon Sep 17 00:00:00 2001 From: Didier Villevalois Date: Sun, 3 Sep 2023 17:48:32 +0200 Subject: [PATCH] build(all): disable some native targets --- buildSrc/src/main/kotlin/plugin.common.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildSrc/src/main/kotlin/plugin.common.gradle.kts b/buildSrc/src/main/kotlin/plugin.common.gradle.kts index 5f926b1..17e9ce7 100644 --- a/buildSrc/src/main/kotlin/plugin.common.gradle.kts +++ b/buildSrc/src/main/kotlin/plugin.common.gradle.kts @@ -80,4 +80,10 @@ tasks { && konanTarget.architecture == HostManager.host.architecture } } + + withType { + onlyIf { + this.target !in listOf("linux_arm64", "mingw_x64") + } + } }