mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 01:58:16 +08:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user