androidartifacts / guru.stefma.androidartifacts / ArtifactsExtension

ArtifactsExtension

open class ArtifactsExtension

Constructors

<init>

ArtifactsExtension()

Properties

artifactId

var artifactId: String?

The artifactId for the artifact.

description

var description: String?

A short description about this artifact

javadoc

var javadoc: Boolean

Set to false when you don't want to publish the javadoc/kdoc of your artifact.

name

var name: String?

The human readable name of this artifact.

sources

var sources: Boolean

Set to false when you don't want to publish the sources of your artifact.

url

var url: String?

The url of the project.

Functions

license

fun license(action: Action<LicenseSpec>): Unit

Set a license to the POM file.

pom

fun pom(action: Action<MavenPom>): Unit

Add additional field to the pom by using the MavenPom API