From bd5485070e62b93f066a6c39e533afc4b62aa14f Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Thu, 16 May 2024 07:52:58 -0500 Subject: [PATCH] Set correct config key when performing a native build from Gradle --- .../cli/src/main/java/io/quarkus/cli/build/GradleRunner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/cli/src/main/java/io/quarkus/cli/build/GradleRunner.java b/devtools/cli/src/main/java/io/quarkus/cli/build/GradleRunner.java index eab5511cb5170..afe7c34c796ab 100644 --- a/devtools/cli/src/main/java/io/quarkus/cli/build/GradleRunner.java +++ b/devtools/cli/src/main/java/io/quarkus/cli/build/GradleRunner.java @@ -204,7 +204,7 @@ public BuildCommandArgs prepareAction(String action, BuildOptions buildOptions, if (buildOptions.buildNative) { args.add("-Dquarkus.native.enabled=true"); - args.add("-Dquarkus.jar.enabled=false"); + args.add("-Dquarkus.package.jar.enabled=false"); } if (buildOptions.skipTests()) { setSkipTests(args);