Skip to content

Commit

Permalink
Override Spring BOM for SnakeYAML to force version 2.2 (#13255)
Browse files Browse the repository at this point in the history
* Add SnakeYAML BOM

to override SpringBoot BOM

* Use property instead of hardcoded version

---------

Co-authored-by: Puneet Behl <[email protected]>
  • Loading branch information
guillermocalvo and puneetbehl authored Dec 5, 2023
1 parent e2fb59d commit 1373750
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ ext {
names : ['grails-async', 'grails-events'],
modules: ['gpars', 'rxjava', 'rxjava2']
],
snakeyaml: [
version: snakeyamlVersion,
group : 'org.yaml',
names: ['snakeyaml'],
modules: ['']
],
spock: [
version: spockVersion,
group : 'org.spockframework',
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jansiVersion=1.18
jlineVersion=2.14.6
jnaVersion=4.5.2
slf4jVersion=1.7.30
snakeyamlVersion=2.2
directoryWatcherVersion=0.9.9
junitVersion=4.13
caffeineVersion=2.6.2
Expand Down
2 changes: 1 addition & 1 deletion grails-bootstrap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
dependencies {
compile ( "org.codehaus.groovy:groovy-xml:$groovyVersion" )
compile ( "org.codehaus.groovy:groovy-templates:$groovyVersion" )
compile "org.yaml:snakeyaml:2.2"
compile "org.yaml:snakeyaml:$snakeyamlVersion"

compileOnly("io.methvin:directory-watcher:0.16.1")
compileOnly("org.fusesource.jansi:jansi:$jansiVersion")
Expand Down
2 changes: 1 addition & 1 deletion grails-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies {
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
"org.apache.ant:ant:$antVersion",
'org.grails:grails-gdoc-engine:1.0.1',
'org.yaml:snakeyaml:1.33',
"org.yaml:snakeyaml:$snakeyamlVersion",
"org.codehaus.groovy:groovy-ant:$groovyVersion"

compile 'org.asciidoctor:asciidoctorj:2.5.6'
Expand Down

0 comments on commit 1373750

Please sign in to comment.