commit
94519c33b1
|
|
@ -124,7 +124,8 @@ final class JavaPluginAction implements PluginApplicationAction {
|
||||||
buildImage.setDescription("Builds an OCI image of the application using the output of the bootJar task");
|
buildImage.setDescription("Builds an OCI image of the application using the output of the bootJar task");
|
||||||
buildImage.setGroup(BasePlugin.BUILD_GROUP);
|
buildImage.setGroup(BasePlugin.BUILD_GROUP);
|
||||||
buildImage.getJar().set(bootJar.get().getArchiveFile());
|
buildImage.getJar().set(bootJar.get().getArchiveFile());
|
||||||
buildImage.getTargetJavaVersion().set(javaPluginConvention(project).getTargetCompatibility());
|
buildImage.getTargetJavaVersion()
|
||||||
|
.set(project.provider(() -> javaPluginConvention(project).getTargetCompatibility()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue