PublishingSimpleConfig

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

Configuration for a dependency, including version, configuration, and configuration action

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

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var component: SoftwareComponent?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var name: String?
Link copied to clipboard
var project: Project
Link copied to clipboard
val scm: ScmData? = null
Link copied to clipboard
Link copied to clipboard
var url: String?
Link copied to clipboard
Link copied to clipboard