Class NativeResourcesOptions
java.lang.Object
org.graalvm.buildtools.gradle.dsl.NativeResourcesOptions
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidEnables auto-detection of resources, using the default detection parameters.voidautodetection(org.gradle.api.Action<? super ResourceDetectionOptions> spec) abstract org.gradle.api.provider.ListProperty<String>The list of bundles to include in the generated resources file.abstract ResourceDetectionOptionsabstract org.gradle.api.provider.ListProperty<String>The list of resources to exclude, as Java regular expressions.abstract org.gradle.api.provider.ListProperty<String>The list of resources to include, as Java regular expressions. 
- 
Constructor Details
- 
NativeResourcesOptions
public NativeResourcesOptions() 
 - 
 - 
Method Details
- 
getDetectionOptions
 - 
autodetection
 - 
autodetect
public void autodetect()Enables auto-detection of resources, using the default detection parameters. - 
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
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
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
 
 
 -