gradle-aem-plugin
gradle-aem-plugin copied to clipboard
Command line filter roots + exclusion options
GAP has utility method like
aem.filter()
which is being used by default. However from CMD line there is no way to exclude some files from roots specified by
e.g sh gradlew :aem:content.demo:aemSync -Paem.filter.roots=[/content/example/demo] -Paem.filter.excludes=[.*rep:policy] -Paem.filter.includes=[]
it would be nice if CMD filter roots are specified, default excludes will be used somehow
aem {
config {
filter {
excludes = listOf(".*/rep:policy") // this is default / optionally overriddable
}
}
}
by having above defined, then Paem.filter.excludes=[.*/rep:policy]
will be redundant