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.
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:
In my opinion we should implement proper Gradle support first and then providing support for Grails 3+ should be fairly easy.