Skip to content

Commit 085f298

Browse files
committed
fix: add VCS reference to sbom to ensure build is reproducible
1 parent 2d94ca1 commit 085f298

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/SbomPlugin.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,12 @@ class SbomPlugin implements Plugin<Project> {
166166
))
167167
task.@externalReferences.set([
168168
new ExternalReference(
169-
url: 'https://grails.apache.org/',
169+
url: 'https://grails.apache.org',
170170
type: ExternalReference.Type.WEBSITE
171+
),
172+
new ExternalReference(
173+
url: 'https://github.com/apache/grails-core',
174+
type: ExternalReference.Type.VCS
171175
)
172176
])
173177

0 commit comments

Comments
 (0)