@Incubating interface Usage : Named
Represents the usage of a configuration. Typical usages include compilation or runtime. This interface allows the user to customize usages by implementing this interface.
Since
3.4
static val C_PLUS_PLUS_API: String
The C++ API of a library, packaged as header directories. |
|
static val JAVA_API: String
The Java API of a library, packaged as class path elements, either a JAR or a classes directory. |
|
static val JAVA_API_CLASSES: String
The Java API of a library, packaged as class path elements, either a JAR or a classes directory. Should not include resources, but may. |
|
static val JAVA_RUNTIME: String
The Java runtime of a component, packaged as class path elements, either a JAR or a classes directory. |
|
static val JAVA_RUNTIME_CLASSES: String
The Java runtime classes of a component, packaged as class path elements, either a JAR or a classes directory. Should not include resources, but may. |
|
static val JAVA_RUNTIME_JARS: String
The Java runtime of a component, packaged as JAR only. Must not include classes directories. |
|
static val JAVA_RUNTIME_RESOURCES: String
The Java runtime resources of a component, packaged as class path elements, either a JAR or a classes directory. Should not include classes, but may. |
|
static val NATIVE_LINK: String
The native link files of a library, packaged as static or shared library. |
|
static val NATIVE_RUNTIME: String
The native runtime files of a library, packaged as a shared library. |
|
static val SWIFT_API: String
The Swift API of a library, packaged as swiftmodule files. |
|
static val USAGE_ATTRIBUTE: Attribute<Usage> |
abstract fun getName(): String
The object's name. Must be constant for the life of the object. |