PublishingSimpleConfig

constructor(project: Project, groupId: String? = null, artifactId: String? = null, version: String? = null, withJavadocSourcesJars: Boolean = true, silenceMissingJavadocWarnings: Boolean = false, component: SoftwareComponent? = project.components["java"], artifacts: Collection<Any> = emptyList(), textArtifacts: Collection<TextArtifact> = emptyList(), name: String? = project.name, description: String? = project.description, url: String? = null, licenses: List<LicenseData> = emptyList(), developers: List<DeveloperData> = emptyList(), scm: ScmData? = null)

Parameters

project

The Gradle project

groupId

The group ID

artifactId

The artifact ID

version

The version

withJavadocSourcesJars

Whether to add Javadoc and Sources JARs to the publication

silenceMissingJavadocWarnings

Whether to silence missing Javadoc warnings

component

The SoftwareComponent to publish

artifacts

The artifacts to publish

textArtifacts

The text artifacts to publish

name

The name of the project

description

The description of the project

url

The URL of the project

licenses

The licenses of the project

developers

The developers of the project

scm

The SCM information of the project