Package org.gradle.jvm.toolchain
Schnittstelle JavaToolchainRepositoryHandler
NamedDomainObjectList based handler for configuring an
ordered collection of JavaToolchainRepository implementations.- Seit:
- 7.6
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a list of repositories that have been added so far.booleanRemoves the repository with the given name.voidrepository(String name, Action<? super JavaToolchainRepository> configureAction) Utility method for creating a namedJavaToolchainRepositorybased on a configuration block.intsize()Returns the count of the repositories added so far.
-
Methodendetails
-
repository
Utility method for creating a namedJavaToolchainRepositorybased on a configuration block. -
getAsList
List<JavaToolchainRepository> getAsList()Returns a list of repositories that have been added so far. The list order reflects the order in which the repositories have been declared.- Seit:
- 7.6.1
-
size
int size()Returns the count of the repositories added so far.- Seit:
- 7.6.1
-
remove
Removes the repository with the given name.Returns true if a repository with the specified name exists and has been successfully removed, false otherwise.
- Seit:
- 7.6.1
-