Skip to content

Commit

Permalink
Merge pull request #39213 from geoand/#39210
Browse files Browse the repository at this point in the history
Ensure that regular jar is not created when a native binary is requested
  • Loading branch information
geoand authored Mar 6, 2024
2 parents 2562a34 + 0d05401 commit a5567a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void requested(OutputTargetBuildItem outputTarget, BuildProducer<AppCDSRe
producer.produce(new AppCDSRequestedBuildItem(outputTarget.getOutputDirectory().resolve("appcds")));
}

@BuildStep
@BuildStep(onlyIfNot = NativeOrNativeSourcesBuild.class)
public void build(Optional<AppCDSRequestedBuildItem> appCDsRequested,
JarBuildItem jarResult, OutputTargetBuildItem outputTarget, PackageConfig packageConfig,
CompiledJavaVersionBuildItem compiledJavaVersion,
Expand Down

0 comments on commit a5567a9

Please sign in to comment.