From 0eee53e2882537646e87dd330bea45f28551e1d8 Mon Sep 17 00:00:00 2001 From: Leonardo Eloy Date: Sun, 5 May 2024 17:01:18 -0300 Subject: [PATCH] Add graalNative task --- console/build.gradle.kts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/console/build.gradle.kts b/console/build.gradle.kts index 48765f1..66aa79f 100644 --- a/console/build.gradle.kts +++ b/console/build.gradle.kts @@ -77,6 +77,7 @@ object Config { plugins { application kotlin("jvm") version "1.9.21" + id("org.graalvm.buildtools.native") version "0.10.1" } repositories { @@ -129,4 +130,12 @@ tasks.test { kotlin { jvmToolchain(17) -} \ No newline at end of file +} + +graalvmNative { + binaries { + named("main") { + fallback.set(true) + } + } +}