Project extension for specifying the short name, long name, group, description, and main package of a project.
| Type | Name and description |
|---|---|
java.lang.String |
descriptionThe project's description,for example "Additional tasks and opinionated defaults for Gradle build scripts". |
java.lang.String |
groupThe project's group, for example "org.myire". |
java.lang.String |
longNameThe project's long name, for example "Quill Gradle plugins". |
java.lang.String |
mainClassThe fully qualified name of the project's main class, if any. |
java.lang.String |
mainPackageThe main package name on a format suitable for a java.lang.Package specification in
a manifest file, for example "/org/myire/quill". |
java.lang.String |
shortNameThe project's short name, for example "Quill". |
| Constructor and description |
|---|
ProjectMetaDataExtension
(org.gradle.api.Project pProject) |
| Type Params | Return 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 org.myire.quill.common.ProjectAware |
org.myire.quill.common.ProjectAware#getProject(), org.myire.quill.common.ProjectAware#getProjectLogger(), org.myire.quill.common.ProjectAware#wait(long, int), org.myire.quill.common.ProjectAware#wait(long), org.myire.quill.common.ProjectAware#wait(), org.myire.quill.common.ProjectAware#equals(java.lang.Object), org.myire.quill.common.ProjectAware#toString(), org.myire.quill.common.ProjectAware#hashCode(), org.myire.quill.common.ProjectAware#getClass(), org.myire.quill.common.ProjectAware#notify(), org.myire.quill.common.ProjectAware#notifyAll() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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 fully qualified name of the project's main class, if any.
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