KotlinPlatformType
An Attribute representing the Kotlin target compilation platform.
This attribute is available in org.gradle.api.artifacts.ConsumableConfigurations created by the Kotlin Gradle plugin for the given org.gradle.api.Project. The attribute is also published as part of the project Gradle metadata publication.
To configure the default AttributeCompatibilityRule and AttributeDisambiguationRule use the KotlinPlatformType.setupAttributesMatchingStrategy method.
The instance of this attribute can be accessed via the KotlinPlatformType.attribute property.
Entries
Types
Provides additional static properties and constants for the KotlinPlatformType.
Provides a default AttributeCompatibilityRule for this attribute.
Provides a default AttributeCompatibilityRule for this attribute.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.