Creating Grails plugins using Clover
Important notice
In case you're developing a Grails plugin and this plugin is referencing the Clover plugin, it's necessary to define that the Clover plugin is not exported. Otherwise, the Clover plugin will be transitively picked up by an application using your own plug-in. As a consequence, it can lead to conflicts in case when the application is also referencing a Clover plugin, but in a different version.
Example how to define a Clover dependency in a Grails plugin:
grails.project.dependency.resolution = {
plugins {
compile(":clover:3.2.0") {
export = false
}
}
}