Interface GraalVMReachabilityMetadataRepositoryExtension
public interface GraalVMReachabilityMetadataRepositoryExtension
Extension used to configure the GraalVM reachability metadata repository.
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean>
Property used to determine if the reachability metadata repository should be used.org.gradle.api.provider.SetProperty<String>
The set of modules for which we don't want to use the configuration found in the repository.A map from a module (org.group:artifact) to configuration repository config version.org.gradle.api.provider.Property<URI>
getUri()
A URI pointing to a GraalVM reachability metadata repository.org.gradle.api.provider.Property<String>
An optional version of the remote repository: if specified, and that no URI is provided, it will automatically use a published repository from the official GraalVM reachability metadata repository.default void
Convenience method to use a URI for the property.default void
Convenience method to use a String for the URI property.
-
Method Details
-
getEnabled
org.gradle.api.provider.Property<Boolean> getEnabled()Property used to determine if the reachability metadata repository should be used.- Returns:
- the enabled property
-
getUri
org.gradle.api.provider.Property<URI> getUri()A URI pointing to a GraalVM reachability metadata repository. This must either be a local file or a remote URI. In case of remote files, only zip or tarballs are supported.- Returns:
- the uri property
-
getVersion
org.gradle.api.provider.Property<String> getVersion()An optional version of the remote repository: if specified, and that no URI is provided, it will automatically use a published repository from the official GraalVM reachability metadata repository.- Returns:
- the version of the repository to use
-
getExcludedModules
org.gradle.api.provider.SetProperty<String> getExcludedModules()The set of modules for which we don't want to use the configuration found in the repository. Modules must be declared with the `groupId:artifactId` syntax.- Returns:
- the set of excluded modules
-
getModuleToConfigVersion
A map from a module (org.group:artifact) to configuration repository config version.- Returns:
- the map of modules to forced configuration versions
-
uri
Convenience method to use a String for the URI property.- Parameters:
uri
- the URI- Throws:
URISyntaxException
- if URL is malformed
-
uri
Convenience method to use a URI for the property.- Parameters:
file
- a file
-