Class NativeResourcesOptions


  • public abstract class NativeResourcesOptions
    extends java.lang.Object
    • Constructor Detail

      • NativeResourcesOptions

        public NativeResourcesOptions()
    • Method Detail

      • autodetect

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

        @Input
        public abstract org.gradle.api.provider.ListProperty<java.lang.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<java.lang.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<java.lang.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