@groovy.transform.CompileStatic class GrailsExtension extends java.lang.Object
A extension to the Gradle plugin to configure Grails settings
| Type | Name and description |
|---|---|
boolean |
importJavaTimeWhether java.time.* package should be a default import package |
boolean |
micronautAutoSetupWhether 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 |
native2asciiWhether to invoke native2ascii on resource bundles |
boolean |
native2asciiAntWhether to use Ant to do the conversion |
boolean |
packageAssetsWhether assets should be packaged in META-INF/assets for plugins |
PluginDefiner |
pluginDefiner |
Project |
project |
boolean |
springDependencyManagementWhether 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