Package org.gradle.api.attributes
Schnittstelle Category
- Alle Superschnittstellen:
Named
This attribute describes the categories of variants for a given module.
Four values are found in published components:
library: Indicates that the variant is a library, that usually means a binary and a set of dependenciesplatform: Indicates that the variant is a platform, that usually means a definition of dependency constraintsdocumentation: Indicates that the variant is documentation of the software moduleverification: Indicates that the variant is output from a testing or code quality verification tool
platform variant can be consumed as a enforced-platform which means all the dependency
information it provides is applied as forced.- Seit:
- 5.3
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringThe documentation categorystatic final StringThe enforced platform, usually a synthetic variant derived from theplatformstatic final StringThe library categorystatic final StringThe platform categorystatic final StringThe verification category, for variants which contain the results of running verification tasks (e.g. -
Methodenübersicht
-
Felddetails
-
CATEGORY_ATTRIBUTE
-
LIBRARY
The library category- Siehe auch:
-
REGULAR_PLATFORM
The platform category- Siehe auch:
-
ENFORCED_PLATFORM
The enforced platform, usually a synthetic variant derived from theplatform- Siehe auch:
-
DOCUMENTATION
The documentation category- Seit:
- 5.6
- Siehe auch:
-
VERIFICATION
The verification category, for variants which contain the results of running verification tasks (e.g. Test, Jacoco).Note that this category can not be published, and an error will result if any attempt is made to publish a configuration containing 'org.gradle.category=verification'.
- Seit:
- 7.4
- Siehe auch:
-