@@ -249,7 +249,7 @@ class PluginConfigurationSpec extends Specification {
249
249
assert log4jCore
. getBomRef()
== ' pkg:maven/org.apache.logging.log4j/[email protected] ?type=jar'
250
250
}
251
251
252
- def " multi-module should output boms in build/reports with version 1.4 " () {
252
+ def " multi-module should output boms in build/reports with default version " () {
253
253
given :
254
254
File testDir = TestUtils . duplicate(" multi-module" )
255
255
@@ -266,10 +266,10 @@ class PluginConfigurationSpec extends Specification {
266
266
assert reportDir. exists()
267
267
reportDir. listFiles(). length == 2
268
268
File jsonBom = new File (reportDir, " bom.json" )
269
- assert jsonBom. text. contains(" \" specVersion\" : \" 1.4 \" " )
269
+ assert jsonBom. text. contains(" \" specVersion\" : \" ${ CycloneDxUtils.DEFAULT_SCHEMA_VERSION.versionString } \" " )
270
270
}
271
271
272
- def " multi-module with plugin in subproject should output boms in build/reports with version 1.4 " () {
272
+ def " multi-module with plugin in subproject should output boms in build/reports with default version " () {
273
273
given :
274
274
File testDir = TestUtils . duplicate(" multi-module-subproject" )
275
275
@@ -286,7 +286,7 @@ class PluginConfigurationSpec extends Specification {
286
286
assert reportDir. exists()
287
287
reportDir. listFiles(). length == 2
288
288
File jsonBom = new File (reportDir, " bom.json" )
289
- assert jsonBom. text. contains(" \" specVersion\" : \" 1.4 \" " )
289
+ assert jsonBom. text. contains(" \" specVersion\" : \" ${ CycloneDxUtils.DEFAULT_SCHEMA_VERSION.versionString } \" " )
290
290
}
291
291
292
292
def " kotlin-dsl-project should allow configuring all properties" () {
0 commit comments