@CompileStatic class BuildInfoPlugin extends AbstractKordampPlugin
Calculates build properties and attaches them to the root Project
.
The following properties are exposed when this plugin is applied:
new Date()
formatted with "yyyy-MM-dd".new Date()
formatted with "HH:mm:ss.ssXXX".Constructor and description |
---|
BuildInfoPlugin
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
apply(Project project) |
|
static void |
applyIfMissing(Project project) |
Groovy Documentation