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

前端 未结 2 1739
粉色の甜心
粉色の甜心 2021-01-04 10:23

I have a maven plugin called enunciate that generates nice API documentation. I\'d rather use Gradle as my build tool but it looks like it\'s limited in this aspect or maybe

相关标签:
2条回答
  • 2021-01-04 10:40

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

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

    0 讨论(0)
  • 2021-01-04 10:47

    You can't use a Maven plugin as-is in Gradle; you'll have to port it to a Gradle plugin. How difficult this is depends on how many Maven APIs the plugin is using. Another strategy might be to call into Maven via Gradle's Exec task.

    0 讨论(0)
提交回复
热议问题