Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@xvik xvik released this 09 Mar 17:07
· 19 commits to master since this release
  • (BREAKING) Drop gradle 5 and 6 support
    • remove compile and runtime configurations support (were deprecated, now removed in gradle)
  • (BREAKING) Conventions merged with extension (due to conventions deprecation):
    • pomGeneration extension renamed to maven
    • old pom convention moved to maven.withPom (exactly the same as before)
    • old withPomXml convention moved to maven.withPomXml, but it's now an Action
      (same as publication.pom.withXml) and so asNode() must now be called manually (instead of it)
  • Add type-safe pom configuration: maven.pom. This is exactly the same as publication.pom (compatible with kotlin)
  • Add debug option (maven.debug()) to show performed xml modifications
    • Pom model diff (for maven.pom configurations) shown only for gralde 8.4 and above
  • Configuration cache compatibility

Migration:

  • Rename pomGeneration{} into maven{}
  • Rename pom{} into maven.withPom{} (exactly the same configuration)
    • Consider moving to type safe maven.pom - in this case all properties MUST contain '='
      (this would be EXACTLY the same as pom configuration in publication)
  • Rename withPomXml{} into maven.withPomXml{} and replace 'it' with 'asNode()'

(full migration doc)