Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update grails-shell to v7.0.0-SNAPSHOT #321

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,19 @@ java {
}

configurations.configureEach {
// This is a workaround for grails-shell exposing a different version of Groovy
// than the one used by Gradle. This causes issues with the Groovy compiler.
resolutionStrategy.force "org.codehaus.groovy:groovy-xml:$GroovySystem.version"
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
// This is a workaround for grails-shell exposing a different version of Groovy
// than the one used by Gradle. This causes issues with the Groovy compiler.
if (details.requested.group == 'org.apache.groovy') {
details.useTarget(group: "org.codehaus.groovy", name: details.requested.name, version: GroovySystem.version)
details.because "Use Groovy 3.0.x library shipped with Gradle"
}

if (details.requested.group == 'org.codehaus.groovy') {
details.useTarget(group: "org.codehaus.groovy", name: details.requested.name, version: GroovySystem.version)
details.because "Use Groovy 3.0.x library shipped with Gradle"
}
}
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
projectVersion=7.0.0-SNAPSHOT
grailsVersion=7.0.0-SNAPSHOT
#TODO: Update to 7.0.0-SNAPSHOT when it has been published
grailsShellVersion=6.2.1-SNAPSHOT
grailsShellVersion=7.0.0-SNAPSHOT
springBootVersion=3.2.6
groovyVersion=3.0.21
org.gradle.caching=true
Expand Down
Loading