Class RootIoExtension

java.lang.Object
io.root.patcher.RootIoExtension

public abstract class RootIoExtension extends Object
Gradle extension that exposes rootio { } configuration block.
  • Constructor Details

    • RootIoExtension

      public RootIoExtension()
  • Method Details

    • getApiKey

      public abstract org.gradle.api.provider.Property<String> getApiKey()
      Root.io API key (required). Set via rootio { apiKey.set(...) }.
      Returns:
      the property
    • getApiUrl

      public abstract org.gradle.api.provider.Property<String> getApiUrl()
      Root.io API base URL. Default: ...
      Returns:
      the property
    • getTtlHours

      public abstract org.gradle.api.provider.Property<Long> getTtlHours()
      Cache TTL in hours. Default: 24. Set to 0 for no caching.
      Returns:
      the property
    • getMaxRetries

      public abstract org.gradle.api.provider.Property<Integer> getMaxRetries()
      Max number of retry attempts on transient failures. Default: 3. Set to 0 to disable retries.
      Returns:
      the property
    • getRetryBaseDelayMs

      public abstract org.gradle.api.provider.Property<Long> getRetryBaseDelayMs()
      Base delay in milliseconds for exponential backoff between retries. Default: 1000.
      Returns:
      the property
    • getPkgUrl

      public abstract org.gradle.api.provider.Property<String> getPkgUrl()
      Root.io package registry Maven repository URL. Default: ...
      Returns:
      the property
    • getPkgUsername

      public abstract org.gradle.api.provider.Property<String> getPkgUsername()
      Username for the pkg Maven repository. When set together with pkgPassword, these credentials are used instead of the Root.io API key.
      Returns:
      the property
    • getPkgPassword

      public abstract org.gradle.api.provider.Property<String> getPkgPassword()
      Password for the pkg Maven repository. When set together with pkgUsername, these credentials are used instead of the Root.io API key.
      Returns:
      the property
    • getAllowInsecurePkgRepo

      public abstract org.gradle.api.provider.Property<Boolean> getAllowInsecurePkgRepo()
      Allow plain HTTP for the pkg repository. Default: false. Enable only for local/test setups.
      Returns:
      the property