Skip to content

Commit 5a55105

Browse files
GRAILS-9680 - replace @grails.version@ when generating wrapper scripts
1 parent f26e646 commit 5a55105

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grails-wrapper/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ task copyScript(type: Copy) {
1010
from("../grails-resources/src/grails/home/bash/startGrails.bat") {
1111
rename 'startGrails.bat', 'grailsw.bat'
1212
}
13+
filter(ReplaceTokens, tokens: ['grails.version': grailsVersion])
1314
filter(ReplaceTokens, tokens: ['starter.main.class': 'org.grails.wrapper.GrailsWrapper'])
1415
filter(ReplaceTokens, tokens: ['starter.classpath': '@wrapperDir@/grails-wrapper-runtime-@[email protected]:@wrapperDir@:.'])
1516
filter(ReplaceTokens, tokens: ['agent.string': '-javaagent:@wrapperDir@/springloaded-core-@[email protected] -noverify -Dspringloaded=$SPRINGLOADED_PARAMS'])

0 commit comments

Comments
 (0)