You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have enabled gradle cobertura plugin for all submodules currently. Few of them don't need coverage check. We use coverageExcludes option to make the plugin not to care. cobertura { coverageExcludes = [ '.*' ] }
Is there a better way just to disable the plugin in a submodule gradle config?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Are you enabling the plugin with a allprojects or subprojects block? If so, you can filter the projects so that they are not applied to the ones you want to exclude. For example:
This can be as simple or as complex as you need. For example, you could create an array of subproject names you want to exclude, and the if statement could see if the current project is in that array.
We have enabled gradle cobertura plugin for all submodules currently. Few of them don't need coverage check. We use coverageExcludes option to make the plugin not to care.
cobertura { coverageExcludes = [ '.*' ] }
Is there a better way just to disable the plugin in a submodule gradle config?
Thanks in advance!
The text was updated successfully, but these errors were encountered: