Can I use the Maven (enunciate) plugin in Gradle?

I have a maven plugin called enunciate which generates beautiful API documentation. I would prefer to use Gradle as a build tool, but it seems to be limited in this aspect, or maybe I just don't know how to use it.

I am wondering if it is possible to somehow use the maven (enunciate) plugin in Gradle? Do I need to write an ant script and call? So far I can’t find the Gradle example for scrolling, so I assume it is not supported?

+8
plugins maven ant gradle enunciate
source share
2 answers

You cannot use the Maven as-is plugin in Gradle; you will need to port it to the Gradle plugin. How complicated this is depends on how much the Maven API uses the plugin. Another strategy could be to call in Maven using the Gradle Exec task.

+10
source share

As of October 2015, the Gradle plugin for Enunciate is available.

https://github.com/stoicflame/enunciate-gradle

+4
source share

All Articles