Targets

object Targets(source)

Properties

Link copied to clipboard

The --to names; any other name must be an attribute path (it contains a dot).

Functions

Link copied to clipboard

Reads flat name: version lines; blank lines and # comments are skipped.

Link copied to clipboard

Reads name=version,name=version; an empty text gives no entries.

Link copied to clipboard
fun resolve(entries: List<Pair<String, String>>): List<Target>

Resolves names to attribute keys. A later entry for the same name replaces an earlier one; two names that reach one key with different values (java and jdk) are refused.