Class NativeResourcesOptions

java.lang.Object
org.graalvm.buildtools.gradle.dsl.NativeResourcesOptions

public abstract class NativeResourcesOptions extends Object
  • Constructor Details

    • NativeResourcesOptions

      public NativeResourcesOptions()
  • Method Details

    • getDetectionOptions

      public abstract ResourceDetectionOptions getDetectionOptions()
    • autodetection

      public void autodetection(org.gradle.api.Action<? super ResourceDetectionOptions> spec)
    • autodetect

      public void autodetect()
      Enables auto-detection of resources, using the default detection parameters.
    • getBundles

      @Input public abstract org.gradle.api.provider.ListProperty<String> getBundles()
      The list of bundles to include in the generated resources file. The contents of this property is used to generate the "bundles" section of the resource-config.json file
      Returns:
      the list of bundles
    • getIncludedPatterns

      @Input public abstract org.gradle.api.provider.ListProperty<String> getIncludedPatterns()
      The list of resources to include, as Java regular expressions. The contents of this property is used to generate the "resources" : "includes" section of the resource-config.json file. It will be merged with detected resources, if any.
      Returns:
      the list of resources to include
    • getExcludedPatterns

      @Input public abstract org.gradle.api.provider.ListProperty<String> getExcludedPatterns()
      The list of resources to exclude, as Java regular expressions. The contents of this property is used to generate the "resources" : "excludes" section of the resource-config.json file. It will be merged with detected resources, if any.
      Returns:
      the list of resources to exclude