purge Old Files
Purge old files from the target directory before generating the lexer. By default, old files are purged from the resolved lexer output directory unless you are using the deprecated property targetOutputDir. If you want to disable this option because the output directory is shared with another task, note that you may run into issues with stale files. Also note that overlapping task outputs are discouraged by Gradle and may cause issues when using the build cache.