Interface GraalVMReachabilityMetadataRepositoryExtension


public interface GraalVMReachabilityMetadataRepositoryExtension
Extension used to configure the GraalVM reachability metadata repository.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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.
    org.gradle.api.provider.MapProperty<String,String>
    A map from a module (org.group:artifact) to configuration repository config version.
    org.gradle.api.provider.Property<URI>
    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
    uri(File file)
    Convenience method to use a URI for the property.
    default void
    uri(String uri)
    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

      org.gradle.api.provider.MapProperty<String,String> getModuleToConfigVersion()
      A map from a module (org.group:artifact) to configuration repository config version.
      Returns:
      the map of modules to forced configuration versions
    • uri

      default void uri(String uri) throws URISyntaxException
      Convenience method to use a String for the URI property.
      Parameters:
      uri - the URI
      Throws:
      URISyntaxException - if URL is malformed
    • uri

      default void uri(File file)
      Convenience method to use a URI for the property.
      Parameters:
      file - a file