Named
public interface Category extends Named
Three 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 toolplatform
variant can be consumed as a enforced-platform
which means all the dependency
information it provides is applied as forced
.Named.Namer
Modifier and Type | Field | Description |
---|---|---|
static Attribute<Category> |
CATEGORY_ATTRIBUTE |
|
static java.lang.String |
DOCUMENTATION |
The documentation category
|
static java.lang.String |
ENFORCED_PLATFORM |
The enforced platform, usually a synthetic variant derived from the
platform |
static java.lang.String |
LIBRARY |
The library category
|
static java.lang.String |
REGULAR_PLATFORM |
The platform category
|
static java.lang.String |
VERIFICATION |
The verification category, for variants which contain the results of running verification tasks (e.g.
|
static final java.lang.String LIBRARY
static final java.lang.String REGULAR_PLATFORM
static final java.lang.String ENFORCED_PLATFORM
platform
static final java.lang.String DOCUMENTATION
@Incubating static final java.lang.String VERIFICATION
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'.