Class MavenCentralPublishingPlugin
java.lang.Object
com.carrotsearch.gradle.buildinfra.AbstractPlugin
com.carrotsearch.gradle.buildinfra.publishing.mavencentral.MavenCentralPublishingPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Publishes selected projects to Maven Central: releases are uploaded as a single bundle via
Sonatype Central Portal's publisher API, snapshots are published directly to Central Portal's
snapshot repository.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractPlugin
getLibsCatalog, isRootProject, pluginAppliedToRootProject, reportError, reportError
-
Field Details
-
TASK_GROUP
- See Also:
-
BUNDLE_REPOSITORY
- See Also:
-
SNAPSHOTS_REPOSITORY
- See Also:
-
PUBLICATION
- See Also:
-
TASK_CLEAN_LOCAL
- See Also:
-
TASK_PUBLISH_LOCAL
- See Also:
-
TASK_CHECK_CLEAN_CHECKOUT
- See Also:
-
TASK_PREPARE_BUNDLE
- See Also:
-
TASK_UPLOAD_BUNDLE
- See Also:
-
TASK_PUBLISH
- See Also:
-
-
Constructor Details
-
MavenCentralPublishingPlugin
@Inject public MavenCentralPublishingPlugin(org.gradle.api.problems.Problems problems)
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project rootProject)
-