Gradle Plugin
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()
}Content copied to clipboard