You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this isn't enough. When using Gradle, the bootJar task is configured to include the SBOM from $buildDir/reports into META-INF/sbom/application.cdx.json. But we invoke native-image with the plain jar file, not the uber jar. This can be fixed with this Gradle snippet, however this might not be the best way:
jar {
dependsOn(':cyclonedxBom')
from(project.layout.buildDirectory.dir('reports')) {
include('application.cdx.json') into 'META-INF/sbom'
}
}
For Maven, registering the resource hints is enough.
No description provided.
The text was updated successfully, but these errors were encountered: