Skip to content

Commit

Permalink
Removed executable extension from imageName
Browse files Browse the repository at this point in the history
Fixes double .exe on Windows
  • Loading branch information
HarmfulBreeze committed Jan 5, 2022
1 parent 530f912 commit 7d67115
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.graalvm.buildtools.utils.SharedConstants

plugins {
id("application")
id("org.graalvm.buildtools.native") version "0.9.6"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7d67115

Please sign in to comment.