Creating Grails plugins using Clover

Grails Clover Plugin Developer Guide

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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
    }
  }
}
最終更新日: 2013 年 10 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.