GradlePlugin

data class GradlePlugin @JvmOverloads constructor(val javadocJar: JavadocJar, val sourcesJar: Boolean = true) : Platform

To be used for java-gradle-plugin projects. Uses the default publication that gets created by that plugin. Depending on the passed parameters for javadocJar and sourcesJar, -javadoc and -sources jars will be added to the publication.

Equivalent Gradle set up:

java {
withSourcesJar()
withJavadocJar()
}

Constructors

Link copied to clipboard
constructor(javadocJar: JavadocJar, sourcesJar: Boolean = true)

Properties

Link copied to clipboard
open override val javadocJar: JavadocJar
Link copied to clipboard
open override val sourcesJar: Boolean