Skip to content

Commit

Permalink
fix(deps): Add ByteBuddy for Spock mocking to support Java 17 compati…
Browse files Browse the repository at this point in the history
…bility

Ensure tests work correctly with Java 17 by adding ByteBuddy dependency for Spock's mocking framework.
  • Loading branch information
matrei committed Nov 19, 2024
1 parent e42fbde commit a7f35c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ commandLineRef=https://docs.grails.org/latest/ref/Command%20Line
grailsDocsVersion=5.0.2
testingSupportVersion=3.2.2
sitemeshVersion=2.4.4
byteBuddyVersion=1.15.5
junit-jupiter.version=5.10.5

org.gradle.caching=true
Expand Down
1 change: 1 addition & 0 deletions grails-web-gsp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ dependencies {
exclude group:'org.grails', module:'grails-web-common'
}

testRuntimeOnly "net.bytebuddy:byte-buddy:$byteBuddyVersion"
testRuntimeOnly "org.grails:grails-spring:$grailsVersion"
}

0 comments on commit a7f35c3

Please sign in to comment.