Creating Grails plugins using Clover

Grails Clover Plugin Developer Guide

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

BuildConfig.groovy
grails.project.dependency.resolution = {
  plugins { 
    compile(":clover:3.2.0") {
      export = false
    }
  }
}
Last modified on Oct 25, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.