@Incubating interface PrebuiltLibraries : ArtifactRepository, NamedDomainObjectSet<PrebuiltLibrary>
A container of PrebuiltLibrary instances.
abstract fun resolveLibrary(name: String): PrebuiltLibrary |
abstract fun findAll(spec: Closure<Any>): MutableSet<T>
{@inheritDoc} |
|
abstract fun getName(): String
Returns the name for this repository. A name must be unique amongst a repository set. A default name is provided for the repository if none is provided. The name is used in logging output and error reporting to point to information related to this repository. |
|
abstract fun matching(spec: Spec<in T>): NamedDomainObjectSet<T> abstract fun matching(spec: Closure<Any>): NamedDomainObjectSet<T>
{@inheritDoc} |
|
abstract fun setName(name: String): Unit
Sets the name for this repository. If this repository is to be added to an org.gradle.api.artifacts.ArtifactRepositoryContainer (including org.gradle.api.artifacts.dsl.RepositoryHandler), its name cannot be changed after it has been added to the container. |
|
abstract fun <S : T> withType(type: Class<S>): NamedDomainObjectSet<S>
{@inheritDoc} |