Project extension for specifying the short name, long name, group, description, and main package of a project.
| Constructor and description |
|---|
ProjectMetaDataExtension
(org.gradle.api.Project pProject) |
| Type | Name and description |
|---|---|
ProjectMetaDataExtension |
applyGroupToProject()Set the project's group property to this instance's group property, given
that the latter is non-null. |
ProjectMetaDataExtension |
from(java.lang.String pJsonFile)Load the project meta data values from a JSON file. |
| Methods inherited from class | Name |
|---|---|
class ProjectAware |
getProject |
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The project's description,for example "Additional tasks and opinionated defaults for Gradle build scripts".
The project's group, for example "org.myire".
The project's long name, for example "Quill Gradle plugins".
The main package name on a format suitable for a java.lang.Package specification in
a manifest file, for example "/org/myire/quill".
The project's short name, for example "Quill".
Set the project's group property to this instance's group property, given
that the latter is non-null.
Load the project meta data values from a JSON file.
pJsonFile - A specification of the file to load the values from.Groovy Documentation