Skip to content

Commit

Permalink
Resolve graceVersion from project properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Jan 13, 2024
1 parent 3d473d1 commit 8ca97be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
}

protected String resolveGrailsVersion(Project project) {
def grailsVersion = project.findProperty('grailsVersion')
def grailsVersion = project.findProperty('grailsVersion') ?: project.findProperty('graceVersion')

grailsVersion = grailsVersion ?: new GrailsDependenciesDependencyManagement().getGrailsVersion()

Expand Down

0 comments on commit 8ca97be

Please sign in to comment.