fun addClosure(name: String, include: String, closure: Closure<*>): Unit
Adds a 'Closure' to all installation tasks. This closure class will change the file based on each line.
name - the name of the filter configuration.
include - file filter for included files in ANT file filter style.
closure - specifies the closure.
fun addClosure(name: String, includes: Set<String>, closure: Closure<*>): Unit
Adds a 'Closure' to all installation tasks. This closure class will change the file based on each line.
name - the name of the filter configuration.
includes - set of file filters for included files in ANT file filter style.
closure - specifies the closure.
fun addClosure(name: String, pattern: PatternFilterable, closure: Closure<*>): Unit
Adds a 'Closure' to all installation tasks. This closure class will change the file based on each line.
name - the name of the filter configuration.
pattern - A PatternFilterable represents some file container which Ant-style include and exclude
patterns or specs can be applied to.