class PluginBuildPlugin extends java.lang.Object
Configures a Gradle build to build and publish a Gradle plugin.
| Type | Name and description |
|---|---|
static java.lang.String |
SNAPSHOT |
java.util.List<java.lang.String> |
pluginIdsThe plugins to apply to the plugin build project. |
java.util.List<java.lang.String> |
requiredPropertiesThe project-specific properties that must be set. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project project)Applies the plugin and configures the build. |
|
void |
checkProjectProperties(java.lang.Object project)Checks that values have been provided for the required project properties. |
|
void |
configureArtifactory(org.gradle.api.Project project)Configures Artifactory publishing. |
|
void |
configureBintray(org.gradle.api.Project project)Configures Bintray publishing. |
|
void |
configureDefaultTasks(org.gradle.api.Project project)Configures the local and all tasks and assigns
all as the project default. |
|
void |
configureDependencies(org.gradle.api.Project project)Adds dependencies. |
|
void |
configureDerivedProperties(org.gradle.api.Project project)Defines additional properties that are derived from the required properties. |
|
void |
configureGradlePlugin(org.gradle.api.Project project)Configures the Gradle plugin to build and publish. |
|
void |
configureJarTask(org.gradle.api.Project project)Configures jar task including manifest attributes. |
|
void |
configureJavaPlugin(org.gradle.api.Project project)Configures the Java plugin including source and target compatibility. |
|
void |
configureJavadocJarTask(org.gradle.api.Project project)Configures the Javadoc jar task. |
|
void |
configurePluginBundle(org.gradle.api.Project project)Configures the plugin bundle being published. |
|
void |
configurePlugins(org.gradle.api.Project project)Applies the plugins in the pluginIds list. |
|
void |
configurePublishing(org.gradle.api.Project project)Configures publishing. |
|
void |
configureRepositories(org.gradle.api.Project project)Adds repository definitions. |
|
void |
configureSourceJarTask(org.gradle.api.Project project)Configures the source jar task. |
|
static boolean |
isProjectPropertySet(org.gradle.api.Project project, java.lang.String propertyName)Checks that the parameter property has a non-empty string or collection value for the parameter property name. |
|
void |
logProperties(org.gradle.api.Project project)Logs the required and derived project properties. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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 plugins to apply to the plugin build project.
The project-specific properties that must be set.
Applies the plugin and configures the build.
project - The project to configureChecks that values have been provided for the required project properties.
project - The project to configure Configures Artifactory publishing. Disabled by default.
Set artifactoryContextUrl, artifactoryRepoKey,
artifactoryUser and artifactoryToken to enable
Artifactory publishing.
project - The project to configure Configures Bintray publishing. Disabled by default.
Set bintrayContextUrl, bintrayUser and
bintrayKey to enable Bintray publishing.
project - The project to configure Configures the local and all tasks and assigns
all as the project default.
project - The project to configureAdds dependencies.
project - The project to configureDefines additional properties that are derived from the required properties.
project - The project to configureConfigures the Gradle plugin to build and publish.
project - The project to configureConfigures jar task including manifest attributes.
project - The project to configureConfigures the Java plugin including source and target compatibility.
project - The project to configureConfigures the Javadoc jar task.
project - The project to configureConfigures the plugin bundle being published.
project - The project to configure Applies the plugins in the pluginIds list.
project - The project to configureConfigures publishing.
project - The project to configureAdds repository definitions.
project - The project to configureConfigures the source jar task.
project - The project to configureChecks that the parameter property has a non-empty string or collection value for the parameter property name.
project - The project to checkpropertyName - The property name to checkLogs the required and derived project properties.
project - The project to configure