简体   繁体   English

用Gradle构建Maven项目

[英]Build Maven project with Gradle

How to build Maven with Gradle. 如何使用Gradle构建Maven。

That is what build.gradle should be to use maven pom.xml 那就是build.gradle应该使用maven pom.xml

(Of course it will have some limitations or likely to new or external gradle plugin) (当然,新的或外部的gradle插件会有一些限制,或者可能会有所限制)

I have come on examples before, but cannot find in userguide. 我之前曾介绍过示例,但在用户指南中找不到。

Have You read Gradle guide about Maven ? 您是否已阅读有关Maven的Gradle指南 It depends on what You want to do with the pom.xml file. 这取决于您要对pom.xml文件执行的操作。 Another place to look is the Gradle pom converter to fully convert your existing Maven build to Gradle. 另一个值得一看的地方是Gradle pom转换器 ,可以将您现有的Maven构建完全转换为Gradle。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM