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);