Dokka exclude files


I am doing a library for android in kotlin, I am trying dokka for documentation, but it takes R (project + libraries) and buildConfig files.
How Can I exclude them?


Also experiencing this issue but cannot find a way to exclude files with patterns…


This has been fixed with Dokka release 0.9.16 which fixes #224 Dokka generate R and Buildconfig files in Android