@groovy.transform.CompileStatic class GrailsGradlePlugin extends GroovyPlugin
The main Grails gradle plugin implementation
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
APPLICATION_CONTEXT_COMMAND_CLASS |
|
protected static java.util.List<java.lang.String> |
CORE_GORM_LIBRARIES |
|
protected static java.util.List<java.lang.String> |
CORE_GORM_PLUGINS |
Type | Name and description |
---|---|
java.util.List<java.lang.Class<Plugin>> |
basePluginClasses |
java.util.List<java.lang.String> |
excludedGrailsAppSourceDirs |
java.util.List<java.lang.String> |
grailsAppResourceDirs |
Constructor and description |
---|
GrailsGradlePlugin(ToolingModelBuilderRegistry registry) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected TaskProvider<Task> |
addGroovyCompilerScript(java.lang.String uniqueScriptName, Project project, groovy.lang.Closure scriptGenerator) |
|
void |
apply(Project project) |
|
protected void |
applyBasePlugins(Project project) |
|
protected void |
applyDefaultPlugins(Project project) |
|
protected void |
applySpringBootPlugin(Project project) |
|
protected FileCollection |
buildClasspath(Project project, Configuration[] configurations) |
|
protected void |
configureApplicationCommands(Project project) |
|
protected void |
configureAssetCompilation(Project project) |
|
protected void |
configureConsoleTask(Project project) |
|
protected void |
configureFileWatch(Project project) |
|
protected void |
configureForkSettings(Project project, java.lang.String grailsVersion) |
|
protected java.lang.String |
configureGrailsBuildSettings(Project project) |
|
protected void |
configureGrailsSourceDirs(Project project) |
|
protected void |
configureGroovy(Project project) |
|
protected void |
configureMicronaut(Project project) |
|
protected void |
configureProfile(Project project) |
|
protected void |
configureRunCommand(Project project) |
|
protected void |
configureRunScript(Project project) |
|
protected org.apache.tools.ant.Task |
createBuildPropertiesTask(Project project) |
|
protected TaskProvider<JavaExec> |
createConsoleTask(Project project, TaskContainer tasks, NamedDomainObjectProvider<Configuration> configuration) |
|
protected TaskProvider<Task> |
createNative2AsciiTask(TaskContainer tasks, java.lang.Object src, java.lang.Object dest) |
|
protected TaskProvider<JavaExec> |
createShellTask(Project project, TaskContainer tasks, NamedDomainObjectProvider<Configuration> configuration) |
|
protected void |
enableFileWatch(Environment environment, Project project) |
|
protected void |
enableNative2Ascii(Project project, java.lang.String grailsVersion) Enables native2ascii processing of resource bundles |
|
protected void |
excludeDependencies(Project project) |
|
protected java.lang.String |
getDefaultProfile() |
|
protected boolean |
isGrailsSourceDirectory(java.io.File subdir) |
|
protected void |
registerFindMainClassTask(Project project) |
|
protected GrailsExtension |
registerGrailsExtension(Project project) |
|
protected void |
registerToolingModelBuilder(Project project, ToolingModelBuilderRegistry registry) |
|
protected FileCollection |
resolveClassesDirs(SourceSetOutput output, Project project) |
|
protected java.util.List<java.io.File> |
resolveGrailsResourceDirs(Project project) |
|
protected java.util.List<java.io.File> |
resolveGrailsSourceDirs(Project project) |
|
protected java.lang.String |
resolveGrailsVersion(Project project) |
Enables native2ascii processing of resource bundles
Groovy Documentation