Make a private method visible to subclasses

So that users can change the model used to render templates if they
have custom requirements for additional content.
This commit is contained in:
Dave Syer
2015-02-26 09:44:39 +00:00
parent 653fc963b4
commit a9ef95be74

View File

@@ -162,7 +162,7 @@ class ProjectGenerator {
}
}
private Map initializeModel(ProjectRequest request) {
protected Map initializeModel(ProjectRequest request) {
Assert.notNull request.bootVersion, 'boot version must not be null'
def model = [:]
request.resolve(metadata)