-
Notifications
You must be signed in to change notification settings - Fork 99
Home
The Gradle Templates plugin helps you get started using Gradle by providing convenient tasks for creating new projects that work with the Gradle build system. Eg. To create a new Java project you can run:
gradle createJavaProject
Which will prompt you for the name of your new project and then create a new directory with it. It will also create a standard directory structure in your project's directory that works with Gradle's default configurations.
The plugin also makes it easy to create your own templates which can be useful in creating new projects, or creating components within your projects. Eg. It's easy to create a simple task to generate a new GSP that fits your company's standard layout. Or to create a more complex task to generate a new servlet and add the entry into your webapp's web.xml file.
- Installation - setup and configuration of the plugin.
- Usage - using the plugin for code generation.
- Java Templates Plugin
- Groovy Templates Plugin
- Scala Templates Plugin
- Webapp Templates Plugin
- Gradle Templates Plugin
- Template Customization - Working with templates.