gradle copy multiline file filter

夙愿已清 提交于 2021-01-28 06:50:36

问题


I'm copying a file using the gradle copy task and I want to apply a filter that matches multiple lines using a regex. It seems like the filter task only matches line by line. Is there a way to analyze the entire file at once?


回答1:


There is no multi-line filter. You may have to process the files before or after the copy (with Groovy).



来源:https://stackoverflow.com/questions/17953712/gradle-copy-multiline-file-filter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!