@groovy.transform.CompileStatic class GrailsExtension extends java.lang.Object
A extension to the Gradle plugin to configure Grails settings
Modifiers | Name | Description |
---|---|---|
static class |
GrailsExtension.Agent |
Configuration for the reloading agent |
Type | Name and description |
---|---|
GrailsExtension.Agent |
agent Configure the reloading agent |
boolean |
exploded Whether to include subproject dependencies as directories directly on the classpath, instead of as JAR files |
boolean |
importJavaTime Whether java.time.* package should be a default import package |
boolean |
native2ascii Whether to invoke native2ascii on resource bundles |
boolean |
native2asciiAnt Whether to use Ant to do the conversion |
boolean |
packageAssets Whether assets should be packaged in META-INF/assets for plugins |
Project |
project |
boolean |
springDependencyManagement Whether the spring dependency management plugin should be applied by default |
Constructor and description |
---|
GrailsExtension(Project project) |
Type Params | Return Type | Name and description |
---|---|---|
|
GrailsExtension.Agent |
agent(groovy.lang.Closure configurer) Configure the reloading agent |
|
void |
plugins(groovy.lang.Closure pluginDefinitions) Allows defining plugins in the available scopes |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Configure the reloading agent
Whether to include subproject dependencies as directories directly on the classpath, instead of as JAR files
Whether java.time.* package should be a default import package
Whether to invoke native2ascii on resource bundles
Whether to use Ant to do the conversion
Whether assets should be packaged in META-INF/assets for plugins
Whether the spring dependency management plugin should be applied by default
Configure the reloading agent
Allows defining plugins in the available scopes
Groovy Documentation