JavaAppResource.withJarArtifact
Method
interface JavaAppResource { // ... omitted for brevity withJarArtifact(jarPath: string): JavaAppResource;}Signature
method
withJarArtifact builderSelects the JAR the generated container image runs, for projects whose build produces more than one.
withJarArtifact(jarPath: string): JavaAppResourceParameters
jarPath stringThe path to the JAR produced by the build, relative to the application directory, for example `target/app.jar`.Returns
JavaAppResource Defined on
This method is defined on the following type: