PublishOnCentralExtension

open class PublishOnCentralExtension(val project: Project)

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

Constructors

Link copied to clipboard
constructor(project: Project)

Properties

Link copied to clipboard
val licenseName: Property<String>

The project's license name.

Link copied to clipboard
val licenseUrl: Property<String>

The license URL connection of the project.

Link copied to clipboard
val project: Project
Link copied to clipboard
val projectDescription: Property<String>

A description of the project.

Link copied to clipboard
val projectLongName: Property<String>

The full project name.

Link copied to clipboard
val projectUrl: Property<String>

The URL of the project.

Link copied to clipboard
val repoOwner: Property<String>

For GitHub projects, the owner of the repo. Used for the default values of projectUrl and scmConnection

Link copied to clipboard
val scmConnection: Property<String>

The SCM connection of the project.

Functions

Link copied to clipboard
fun repository(url: String, name: String = repositoryNameFromURL( url, ), configurator: Repository.() -> Unit = { })

Utility to configure a new Maven repository as target.