From 0e0c889ff4b2af9334dec473719927e8ff647be6 Mon Sep 17 00:00:00 2001 From: Niklas Baudy Date: Tue, 3 Dec 2024 21:38:34 +0900 Subject: [PATCH] Enable Klibs Cross Compilation to fix #102 --- gradle.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradle.properties b/gradle.properties index ef67976a..0d4aae34 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,6 +4,9 @@ android.useAndroidX=true kotlin.mpp.androidSourceSetLayoutVersion=2 +# Required to produce klib files on any host. +kotlin.native.enableKlibsCrossCompilation=true + # Prevent generation of BuildConfig as a java file. android.enableBuildConfigAsBytecode=true