From ef692a31d57ad5dd4c79459838fd935a70059e6b Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Fri, 13 Dec 2024 21:52:08 +0100 Subject: [PATCH] No kotlin multiplatform While running the engine on multiple of Kotlin's supported platforms would be cool, the standard library is just way too limited for our usecase. The JVM simply has the best support and is the most suited option. This would reap additional benefits: - Java, Scala and Groovy interoperability - existing Java libraries and tooling can be (re)used - compilation using native-image may be possible under the new rewrite (which would replace the need for Kotlin/Native) --- build.gradle.kts | 9 ++------- gradle.properties | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 22100b9..87bf62e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -75,13 +75,8 @@ allprojects { // Kotlin support kotlin(property("dependencyKotlinStdIdentifier") as String) kotlin(property("dependencyKotlinStdJavaIdentifier") as String) - } - - kotlin.sourceSets.main { - dependencies { - implementation("${property("dependencyKotlinReflectIdentifier") as String}:${property("dependencyKotlinReflectVersion") as String}") - implementation("${property("dependencyKotlinDateTimeIdentifier") as String}:${property("dependencyKotlinDateTimeVersion") as String}") - } + implementation("${property("dependencyKotlinReflectIdentifier") as String}:${property("dependencyKotlinReflectVersion") as String}") + implementation("${property("dependencyKotlinDateTimeIdentifier") as String}:${property("dependencyKotlinDateTimeVersion") as String}") } // Java diff --git a/gradle.properties b/gradle.properties index 4de4671..a463f92 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ # Gradle properties org.gradle.caching=true org.gradle.configureondemand=true -org.gradle.jvmargs=-Xmx1G -Xms1G -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx1G -Xms1G -XX:MaxMetaspaceSize=512M -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 org.gradle.parallel=true org.gradle.priority=normal