From 140c6913906e32bd483d1b3dccddc01f17f12bd9 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Mon, 3 Jun 2024 15:33:12 +0800 Subject: [PATCH] gradle.properties --- gradle.properties | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gradle.properties b/gradle.properties index e939bec..7f456ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,16 @@ kotlin.code.style=official kotlin.native.ignoreDisabledTargets=true +kotlin.js.generate.executable.default=false + +# Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'. +# To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property +kotlin.native.ignoreIncorrectDependencies=true + +# 'expect'/'actual' classes (including interfaces, objects, annotations, enums, and 'actual' typealiases) are in Beta. You can use -Xexpect-actual-classes flag to suppress this warning. Also see: https://youtrack.jetbrains.com/issue/KT-61573 +# "-Xexpect-actual-classes" +org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G -Dfile.encoding=UTF-8 + +# https://kotlinlang.org/docs/native-improving-compilation-time.html#gradle-configuration +#org.gradle.workers.max=8 +org.gradle.parallel=true +org.gradle.caching=true