Skip to content

Commit 7eaba1f

Browse files
committed
Support groovyVersion in the profile skeleton
1 parent d7810f3 commit 7eaba1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

grails-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos
226226
if(gormDep != null) {
227227
variables['gorm.version'] = gormDep
228228
}
229+
String groovyDep = mpr.profileDependencyVersions.versionProperties.get('groovy.version')
230+
if(groovyDep != null) {
231+
variables['groovy.version'] = groovyDep
232+
}
229233
}
230234

231235
Path appFullDirectory = Paths.get(cmd.baseDir.path, appname)

0 commit comments

Comments
 (0)