Package org.gradle.api.artifacts.type
Schnittstelle ArtifactTypeDefinition
- Alle Superschnittstellen:
HasAttributes,Named
Meta-data about a particular type of artifacts.
- Seit:
- 4.0
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungThe attribute that represents the type of the artifact.static final StringRepresents a binary filestatic final StringRepresents a raw directorystatic final StringRepresents a JAR file.static final StringRepresents a directory tree containing class files.static final StringRepresents a directory tree containing jvm classpath resource files.static final StringRepresents a zip file -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungDefines the set of attributes to apply to a component that is packaged as an artifact of this type, when no other attributes are defined.Returns the set of file name extensions that should be mapped to this artifact type.
-
Felddetails
-
ARTIFACT_TYPE_ATTRIBUTE
The attribute that represents the type of the artifact.- Seit:
- 7.3
-
JAR_TYPE
Represents a JAR file.- Seit:
- 4.0
- Siehe auch:
-
JVM_CLASS_DIRECTORY
Represents a directory tree containing class files.- Seit:
- 4.0
- Siehe auch:
-
JVM_RESOURCES_DIRECTORY
Represents a directory tree containing jvm classpath resource files.- Seit:
- 4.0
- Siehe auch:
-
ZIP_TYPE
Represents a zip file- Seit:
- 5.3
- Siehe auch:
-
DIRECTORY_TYPE
Represents a raw directory- Seit:
- 5.3
- Siehe auch:
-
BINARY_DATA_TYPE
Represents a binary file- Seit:
- 7.4
- Siehe auch:
-
-
Methodendetails
-
getFileNameExtensions
Returns the set of file name extensions that should be mapped to this artifact type. Defaults to the name of this type. -
getAttributes
AttributeContainer getAttributes()Defines the set of attributes to apply to a component that is packaged as an artifact of this type, when no other attributes are defined. For example, these attributes are applied when a Maven module contains an artifact with one of the extensions listed ingetFileNameExtensions().- Angegeben von:
getAttributesin SchnittstelleHasAttributes
-