Grails coberatura plugin is doing code coverage on BuildConfig.groovy. I have tried all these configurations on BuildConfiguration to exclude BuildConfiguration from code coverage have tried all these.
coverage {
exclusions = [
'*/BuildConfig*',
'BuildConfig*',
"BuildConfig*",
'BuildConfig',
'BuildConfig*'
]
}