Skip to content

2.2.0

Choose a tag to compare

@xvik xvik released this 16 Jun 20:48
· 230 commits to master since this release
  • Java plugin not required for activation anymore: main features activated with
    maven-publish plugin (as before, maven-publish registered automatically for java plugin)
  • Support usage with java-platform plugin (used for BOM declaration):
    • maven-publish plugin would be activated automatically
    • no additional configurations created (and no scopes auto-fixing applied)
  • Put all imported BOMs at the top of dependencyManagement section
    (by default java-platform plugin puts all BOMs last; unifies behaviour with spring plugin)
  • New configuration closure: pomGeneration
    • disableScopesCorrection() - disables scope corrections applied by the plugin (to see native behaviour)
    • disableBomsReorder() - disables putting all boms at the top (to see native behaviour)
    • forceVersions() - always put dependency version even when boms used (gradle platforms)
    • removeDependencyManagement() - removes dependencyManagement section from pom (generated for used platforms)
      automatically forces versions (otherwise pom would become invalid).
      Option assumed to be used with gradle platforms to not "leak" platform into generated poms.
      Compatible with spring dependency management plugin
  • Allow using multiple pom and withPomXml configurations. Useful in multi-module projects
    (for example, to declare common configuration in allprojects section and specific configurations in subproject itself)