Reusing maven uber.pom in gradle

In my company, we use maven as the default build tool. We also have "uber.pom", where standard versions of some shared libraries are defined in the dependencyManagement section (to ensure consistency in our projects). All of our projects reference this pom as parent.pom. In one of our projects, we decided to use gradle. I am wondering if it is possible to somehow refer to "uber.pom", so we do not need to define the same version properties for gradle again. I do not want to end up keeping the uber.pom and gradle.properties functions in sync. I suppose I can write some kind of plugin that will parse uber.pom and get versions, and then install it in my gradle project, but I want to be sure that there is no better and easier way to achieve this.

+4
source share
1 answer

Gradle does not currently have built-in support for building assembly information with Uber POM. You will have to write your own plugin.

+5
source

All Articles