-
Notifications
You must be signed in to change notification settings - Fork 14
Gradle tasks
Cezary Kluczyński edited this page Apr 13, 2017
·
9 revisions
This page lists custom Gradle tasks.
Task for generating scaffold code. After running the task, code will not compile and has to be corrected by hand, but some time could be saved this way. Two following parameters can be passed:
- -PsourceEntityName - entity from which files will be copied.
- -PtargetEntityName - entity to create.
- -PscaffoldType (optional) - type of code to copy. Could be endpoint or etl. Default to endpoint.
Example usage:
gradle -PsourceEntityName=Comics -PtargetEntityName=ComicStrip -PscaffoldType=endpoint codeGen