WrapUtil

open class WrapUtil(source)

Deprecated

This class is only here to maintain binary compatibility with existing plugins.

Deprecated

Will be removed in Gradle 9.0.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun <T> toArray(items: Array<T>): Array<T>
Link copied to clipboard
open fun <T> toDomainObjectSet(type: Class<T>, items: Array<T>): DomainObjectSet<T>
Wraps the given items in a mutable domain object set.
Link copied to clipboard
open fun <T> toLinkedSet(items: Array<T>): Set<T>
Wraps the given items in a mutable ordered set.
Link copied to clipboard
open fun <T> toList(items: Array<T>): List<T>
open fun <T> toList(items: Iterable<out T>): List<T>
Wraps the given items in a mutable list.
Link copied to clipboard
open fun <K, V> toMap(key: K, value: V): Map<K, V>
Wraps the given key and value in a mutable unordered map.
Link copied to clipboard
open fun <T> toSet(items: Array<T>): Set<T>
Wraps the given items in a mutable unordered set.
Link copied to clipboard
open fun <T> toSortedSet(items: Array<T>): SortedSet<T>
Wraps the given items in a mutable sorted set.
open fun <T> toSortedSet(comp: Comparator<T>, items: Array<T>): SortedSet<T>
Wraps the given items in a mutable sorted set using the given comparator.