In Gradle, how do I declare common dependencies in a single place?

后端 未结 7 1727
余生分开走
余生分开走 2020-11-29 16:08

In Maven there is a very useful feature when you can define a dependency in the section of the parent POM, and reference that depen

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 16:57

    It's a late reply, yet you might also want to have a look at: http://plugins.gradle.org/plugin/io.spring.dependency-management It provides possibility to import a maven 'bom', and reuse the definitions defined in the 'bom'. It's certainly a nice help when gradually migrating from maven to gradle ! Enjoying it right now.

提交回复
热议问题