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

前端 未结 2 1809
粉色の甜心
粉色の甜心 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: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.

提交回复
热议问题