@CompileStatic class FactoriesCompileInput extends java.lang.Object
Declares the hand-authored factories files the Grails compiler merges into the ones it generates as inputs of a Groovy compilation. A resource does not invalidate a compilation on its own, so a change to one of these files left the generated file as it was until a source changed as well. As an input that is not a source, a change to one recompiles in full, which writes the generated file again.
| Type | Name and description |
|---|---|
static java.util.List<java.lang.String> |
CLI_FACTORIES_PATHSMerged into the generated META-INF/grails-cli.factories |
static java.lang.String |
GRAILS_FACTORIES_PATHMerged into the generated META-INF/grails.factories |
| Constructor and description |
|---|
FactoriesCompileInput() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
registerCliFactories(Project project, GroovyCompile task)For a compilation that can register commands: project sources, and the sources of a cli tier. |
|
static void |
registerGrailsFactories(Project project, GroovyCompile task)For a compilation of project sources, where artefact handlers and trait injectors are registered. |
| 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) |
Merged into the generated META-INF/grails-cli.factories
Merged into the generated META-INF/grails.factories
For a compilation that can register commands: project sources, and the sources of a cli tier.
For a compilation of project sources, where artefact handlers and trait injectors are registered.