Version 0.7
Version 0.7 is a significant release that introduces sub-template support via a new generate
command. It's geared towards allowing users to generate extra files in their project after the initial project creation. Project templates can use it to generate entity or controller classes for example.
In addition:
- Added template name qualifiers, e.g.
lazybones generate artifact::controller
(with 'controller' being the qualifier) - Added a
--cached
option to thelist
command that displays the cached templates - Improved behaviour of
create
,list
andinfo
when a user is offline. targetDir
in scripts is deprecated and replaced byprojectDir
(of typeFile
rather thanString
)- Added
templateDir
for scripts, which points to the location of the unpacked sub-template (has the same value asprojectDir
for project templates) - Added
tmplQualifiers
for scripts that contains template name qualifiers
Please review the project README, the template developers guide and the Gradle plugin's README to find out more about the new features.