wttech / gradle-aem-plugin

Swiss army knife for Adobe Experience Manager related automation. Environment setup & incremental AEM application build which takes seconds, not minutes.
https://tech.cognifide.com/tag/gradle-aem-plugin
Apache License 2.0
157 stars 32 forks source link

Extending jar task via bundle convention plugin is deprecated #845

Closed pun-ky closed 2 years ago

pun-ky commented 3 years ago
  1. https://github.com/wttech/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/bundle/tasks/BundleJar.kt#L404
  2. https://docs.gradle.org/current/javadoc/org/gradle/api/Task.html#getConvention
pun-ky commented 3 years ago

impl details: introduce in AemExtension a map <Jar, BundleJar> then add Jar.bundle extension method which will add BundleJar decorator into that map and allow decorating Jar using its own DSL. what will change is the memory allocation place, not directly in Jar task but in AemExtension map.

pun-ky commented 2 years ago

related to #885