The main Grails gradle plugin implementation
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
APPLICATION_CONTEXT_COMMAND_CLASS |
|
protected static java.util.List |
CORE_GORM_LIBRARIES |
|
protected static java.util.List |
CORE_GORM_PLUGINS |
|
static java.lang.String |
PROFILE_CONFIGURATION |
Type | Name and description |
---|---|
private java.util.List |
basePluginClasses |
private java.util.List |
excludedGrailsAppSourceDirs |
private java.util.List |
grailsAppResourceDirs |
Constructor and description |
---|
GrailsGradlePlugin
(ToolingModelBuilderRegistry registry) |
GrailsGradlePlugin
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addDefaultProfile(Project project, Configuration profileConfig) |
|
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 |
configurePathingJar(Project project) |
|
protected void |
configureProfile(Project project) |
|
protected void |
configureRunCommand(Project project) |
|
protected void |
configureRunScript(Project project) |
|
protected void |
configureSpringBootExtension(Project project) |
|
protected org.apache.tools.ant.Task |
createBuildPropertiesTask(Project project) |
|
protected JavaExec |
createConsoleTask(Project project, TaskContainer tasks, Configuration configuration) |
|
protected org.apache.tools.ant.Task |
createNative2AsciiTask(TaskContainer taskContainer, java.lang.Object src, java.lang.Object dest) |
|
protected Jar |
createPathingJarTask(Project project, java.lang.String name, Configuration[] configurations) |
|
protected JavaExec |
createShellTask(Project project, TaskContainer tasks, 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 java.lang.String |
getDefaultProfile() |
|
protected boolean |
isGrailsSourceDirectory(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 |
resolveGrailsResourceDirs(Project project) |
|
protected java.util.List |
resolveGrailsSourceDirs(Project project) |
|
protected java.lang.String |
resolveGrailsVersion(Project project) |
Enables native2ascii processing of resource bundles