ExpandDetails (Gradle API 8.14.3)
Description: declaration: package: org.gradle.api.file, interface: ExpandDetails

Package org.gradle.api.file

# Interface ExpandDetails

public interface ExpandDetails
Additional configuration parameters for `ContentFilterable.expand(Map, Action)` action.

Since:
  7.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Property<Boolean>`
  `getEscapeBackslash()`
  Controls if the underlying `SimpleTemplateEngine` escapes backslashes in the file before processing.

- ## Method Details

  - ### getEscapeBackslash

    Property<Boolean> getEscapeBackslash()
    Controls if the underlying `SimpleTemplateEngine` escapes backslashes in the file before processing. If this is set to `false` then escape sequences in the processed files (`\n`, `\t`, `\\`, etc) are converted to the symbols that they represent, so, for example `\n` becomes newline. If set to `true` then escape sequences are left as is.

    Default value is `false`.

    See Also:
      - `SimpleTemplateEngine.setEscapeBackslash(boolean)`