@groovy.transform.CompileStatic class AutoConfigurationImportsPlugin extends java.lang.Object implements Plugin<Project>
Convention plugin that wires GenerateAutoConfigurationImportsTask into the main
source set's output, so a module authoring @AutoConfiguration classes never has to
hand-maintain META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports.
The generated resources directory is registered via sourceSets.main.output.dir(...)
rather than routed through processResources, so it lands on the compile/runtime/test
classpath and in the final jar without depending on Copy-task ordering semantics.
| Type | Name and description |
|---|---|
static java.lang.String |
GENERATED_RESOURCES_PATH |
static java.lang.String |
TASK_NAME |
| Constructor and description |
|---|
AutoConfigurationImportsPlugin() |
| 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) |