@groovy.transform.CompileStatic class GrailsExtension extends java.lang.Object
A extension to the Gradle plugin to configure Grails settings
Type | Name and description |
---|---|
boolean |
importJavaTime Whether java.time.* package should be a default import package |
boolean |
micronautAutoSetup Whether the Micronaut `annotationProcessor` dependencies should be auto-added to the project on detection of the `grails-micronaut` plugin, and the version defined by the `micronautPlatformVersion` Gradle property is enforced. |
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 |
PluginDefiner |
pluginDefiner |
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 |
---|---|---|
|
DependencyHandler |
getPlugins() |
|
boolean |
isDevelopmentRun() |
|
void |
plugins(groovy.lang.Closure configureClosure) 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) |
Whether java.time.* package should be a default import package
Whether the Micronaut `annotationProcessor` dependencies should be auto-added to the project on detection of the `grails-micronaut` plugin, and the version defined by the `micronautPlatformVersion` Gradle property is enforced.
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
Allows defining plugins in the available scopes
Groovy Documentation