Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1683

Grails Clover Plugin compatibility with Grails 3.x

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Grails 3 has been released (3.0 GA on 31/Mar/15). It uses the Gradle build tool instead of Gant, thus we may need to have Gradle support as well. It has also various changes in API. Implement support for Grails 3 in the Grails Clover Plugin.

            [CLOV-1683] Grails Clover Plugin compatibility with Grails 3.x

            Grzegorz Lewandowski added a comment - - edited

            I spent couple of days looking for solution to integrate Clover with grails 3+ without writing Clover-Gradle plugin. Grails 3+ is build completely by Gradle and doesn't publish events on Clover depends. Gant build system has been dropped completely. I've tried two solutions:

            • evaluation _Events.groovy and then firing event handlers on Gradle tasks (during compilation and so on), but _Events.groovy file couldn't be easily evaluated and there isn't easy way of passing variables between Scripts in groovy in both directions.
            • creating Grails custom script, but it wasn't easy. Potentially it could work but I believe effort to get this working fine would be to high.

            In my opinion we should implement proper Gradle support first and then providing support for Grails 3+ should be fairly easy.

            Grzegorz Lewandowski added a comment - - edited I spent couple of days looking for solution to integrate Clover with grails 3+ without writing Clover-Gradle plugin. Grails 3+ is build completely by Gradle and doesn't publish events on Clover depends. Gant build system has been dropped completely. I've tried two solutions: evaluation _Events.groovy and then firing event handlers on Gradle tasks (during compilation and so on), but _Events.groovy file couldn't be easily evaluated and there isn't easy way of passing variables between Scripts in groovy in both directions. creating Grails custom script , but it wasn't easy. Potentially it could work but I believe effort to get this working fine would be to high. In my opinion we should implement proper Gradle support first and then providing support for Grails 3+ should be fairly easy.

              glewandowski Grzegorz Lewandowski
              mparfianowicz Marek Parfianowicz
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: