Package org.gradle.normalization
Interface RuntimeClasspathNormalization
- All Superinterfaces:
 InputNormalization
Configuration of runtime classpath normalization.
 
Several methods accept a file pattern to selectively normalize files. Patterns may include:
- '*' to match any number of characters
 - '?' to match any single character
 - '**' to match any number of directories or files
 
Either '/' or '\' may be used in a pattern to separate directories. Patterns ending with '/' or '\' will have '**' automatically appended.
Examples:
 all files ending with '.json' (including files in subdirectories)
    **/*.json
 
 
 all files beginning with 'build-' in the level1/level2 directory
    level1/level2/build-*
 
 all files (including subdirectories) beneath config/build-data config/build-data/
all properties files in a build directory beneath com/acme (including subdirectories) com/acme/**/build/*.properties
- Since:
 - 4.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidIgnore resources in classpath entries matchingpattern.voidmetaInf(Action<? super MetaInfNormalization> configuration) Configures the normalization strategy for theMETA-INFdirectory in archives.voidproperties(String pattern, Action<? super PropertiesFileNormalization> configuration) Normalize files matchingpatternas properties files, ignoring comments and property order, applying the rules provided byconfiguration.voidproperties(Action<? super PropertiesFileNormalization> configuration) Normalize all properties files according to the rules provided byconfiguration. 
- 
Method Details
- 
ignore
Ignore resources in classpath entries matchingpattern. - 
properties
Normalize files matchingpatternas properties files, ignoring comments and property order, applying the rules provided byconfiguration.- Since:
 - 6.8
 
 - 
properties
Normalize all properties files according to the rules provided byconfiguration. This is equivalent to callingproperties(String, Action)with the '**/*.properties' pattern.- Since:
 - 6.8
 
 - 
metaInf
Configures the normalization strategy for theMETA-INFdirectory in archives.- Since:
 - 6.6
 
 
 -