From 7d6711577767a608b938d6f7dd7235676a64c7fb Mon Sep 17 00:00:00 2001 From: Pierre GRASSER Date: Wed, 5 Jan 2022 17:31:51 +0100 Subject: [PATCH] Removed executable extension from imageName Fixes double .exe on Windows --- build.gradle.kts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c35661a..6d1cebd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,3 @@ -import org.graalvm.buildtools.utils.SharedConstants - plugins { id("application") id("org.graalvm.buildtools.native") version "0.9.6" @@ -36,7 +34,7 @@ graalvmNative { binaries { named("main") { buildArgs.add("-H:+AddAllCharsets") - imageName.set(project.name + SharedConstants.EXECUTABLE_EXTENSION) + imageName.set(project.name) javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(17)) vendor.set(JvmVendorSpec.GRAAL_VM)