From 0a2eb6f822b8d7af5b8629209e97a2b1203f3401 Mon Sep 17 00:00:00 2001 From: Saad Khan Date: Wed, 17 Jun 2026 13:00:00 +0500 Subject: [PATCH] Suppress disabled Kotlin/Native target warnings on Windows Add kotlin.native.ignoreDisabledTargets for hosts that cannot build iOS and macOS targets. --- gradle.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gradle.properties b/gradle.properties index e750791..d4f7856 100644 --- a/gradle.properties +++ b/gradle.properties @@ -28,3 +28,7 @@ signAllPublications=true org.jetbrains.compose.experimental.wasm.enabled=true org.jetbrains.compose.experimental.jscanvas.enabled=true org.jetbrains.compose.experimental.macos.enabled=true + +# Suppress known Kotlin Multiplatform warnings on non-macOS hosts and with newer AGP +kotlin.native.ignoreDisabledTargets=true +kotlin.mpp.androidGradlePluginCompatibility.nowarn=true