Super POM, Parent POM type of hierarchy management in Gradle

前端 未结 3 1876
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 17:36

We are currently using Maven as our build tool and there is a directive to migrate to Gradle. Our current setup is:

  1. We have a super POM that defines all third part
3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-20 17:51

    Instead of the super POM, you'd write a Gradle plugin and distribute that. Not exactly sure what you get out of 2. and 3., but if these definitions are reused between builds, they would again go into a plugin, and otherwise into a parent build script.

提交回复
热议问题