Package-level declarations

Types

Link copied to clipboard

Extension functions for org.gradle.api.publish.maven.MavenPublication to target Maven Central.

Link copied to clipboard
class PublishOnCentral : Plugin<Project>

A Plugin configuring the project for publishing on Maven Central.

Link copied to clipboard
open class PublishOnCentralExtension(val project: Project)

The extension in charge of configuring the publish-on-central plugin on the target project.

Link copied to clipboard
data class Repository(var name: String, val url: Provider<URI>, val user: Property<String>, val password: Property<String>, val nexusUrl: String? = null, val nexusTimeOut: Duration = Duration.ofMinutes(1), val nexusConnectTimeOut: Duration = Duration.ofMinutes(1))

A class modelling the concept of target Maven repository. Includes a name, an url, and methods to compute user and password given a Project. If the repository is managed with Sonatype Nexus, then the Nexus uri should be provided as nexusUrl. Time outs can be set with nexusTimeOut and nexusConnectTimeOut.