ofiles.base.7.0.0.source-code.create-domain-class.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
A profile for other profiles to extend from
The newest version!
description:
- Creates a Domain Class
- usage: 'create-domain-class [domain class name]'
- argument: Domain Class Name
description: The name of the domain class
- flag: force
description: Whether to override existing files
steps:
- command: render
template: templates/artifacts/DomainClass.groovy
destination: grails-app/domain/@artifact.package.path@/@[email protected]
- command: render
template: templates/testing/DomainClass.groovy
destination: src/test/groovy/@artifact.package.path@/@[email protected]