Package org.gradle.api.publish.ivy
Schnittstelle IvyArtifact
- Alle Superschnittstellen:
Buildable,PublicationArtifact
An artifact published as part of a
IvyPublication.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe classifier used to publish the artifact file.getConf()A comma separated list of public configurations in which this artifact is published.The extension used to publish the artifact file, nevernull.getName()The name used to publish the artifact file, nevernull.getType()The type used to publish the artifact file, nevernull.voidsetClassifier(String classifier) Sets the classifier used to publish the artifact file.voidSets a comma separated list of public configurations in which this artifact is published.voidsetExtension(String extension) Sets the extension used to publish the artifact file.voidSets the name used to publish the artifact file.voidSets the type used to publish the artifact file.Von Schnittstelle geerbte Methoden org.gradle.api.Buildable
getBuildDependenciesVon Schnittstelle geerbte Methoden org.gradle.api.publish.PublicationArtifact
builtBy, getFile
-
Methodendetails
-
getName
String getName()The name used to publish the artifact file, nevernull. Defaults to the name of the module that this artifact belongs to. -
setName
Sets the name used to publish the artifact file.- Parameter:
name- The name.
-
getType
String getType()The type used to publish the artifact file, nevernull. -
setType
Sets the type used to publish the artifact file.- Parameter:
type- The type.
-
getExtension
String getExtension()The extension used to publish the artifact file, nevernull. For an artifact without an extension, this value will be an empty String. -
setExtension
Sets the extension used to publish the artifact file.- Parameter:
extension- The extension.
-
getClassifier
The classifier used to publish the artifact file. Anullvalue (the default) indicates that this artifact will be published without a classifier. -
setClassifier
Sets the classifier used to publish the artifact file.- Parameter:
classifier- The classifier.
-
getConf
A comma separated list of public configurations in which this artifact is published. The '*' wildcard is used to designate that the artifact is published in all public configurations. Anullvalue (the default) indicates that this artifact will be published without a conf attribute.- Gibt zurück:
- The value of 'conf' for this artifact.
-
setConf
Sets a comma separated list of public configurations in which this artifact is published. The '*' wildcard can be used to designate that the artifact is published in all public configurations.- Parameter:
conf- The value of 'conf' for this artifact.
-