-
- All Implemented Interfaces:
public final class ConfigurationKt
-
-
Method Summary
Modifier and Type Method Description final static UnitconfigureForMavenCentral(MavenPublication $self, PublishOnCentralExtension extension)Configures a MavenPublication for publication on Maven Central, adding the following. final static UnitconfigurePomForMavenCentral(MavenPublication $self, PublishOnCentralExtension extension)Configures the pom. final static UnitconfigureRepository(Project $self, Repository repoToConfigure)Reifies this repository setup onto every PublishingExtension configuration of the provided Project. final static TaskCollection<Sign>findSigningTaskIn(MavenPublication $self, Project project)Returns the signign tasks registered for the MavenPublication in the current project. -
-
Method Detail
-
configureForMavenCentral
final static Unit configureForMavenCentral(MavenPublication $self, PublishOnCentralExtension extension)
Configures a MavenPublication for publication on Maven Central, adding the following.
appropriate pom.xml configuration
a main jar file
a source jar file
a javadoc jar file
-
configurePomForMavenCentral
final static Unit configurePomForMavenCentral(MavenPublication $self, PublishOnCentralExtension extension)
Configures the pom.xml file of a MavenPublication with the information specified in this configuration.
-
configureRepository
final static Unit configureRepository(Project $self, Repository repoToConfigure)
Reifies this repository setup onto every PublishingExtension configuration of the provided Project.
-
findSigningTaskIn
final static TaskCollection<Sign> findSigningTaskIn(MavenPublication $self, Project project)
Returns the signign tasks registered for the MavenPublication in the current project.
-
-
-
-