You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that the shadow plugin depends on log4j-core not for its own logging (which should be / is done via the Gradle API anyway), but for the Log4j2PluginsCacheFileTransformer. This may lead to confusions about dependency updates for users of the shadow plugin that to not use Log4j in their own application (and consequently also not the shadow plugin's Log4j2PluginsCacheFileTransformer).
To avoid this, I'm wondering whether the dependency on log4j-core could be made optional in some way, e.g. by turning it into a runtimeOnly dependency?
The text was updated successfully, but these errors were encountered:
My understanding is that the
shadow
plugin depends onlog4j-core
not for its own logging (which should be / is done via the Gradle API anyway), but for theLog4j2PluginsCacheFileTransformer
. This may lead to confusions about dependency updates for users of theshadow
plugin that to not use Log4j in their own application (and consequently also not theshadow
plugin'sLog4j2PluginsCacheFileTransformer
).To avoid this, I'm wondering whether the dependency on
log4j-core
could be made optional in some way, e.g. by turning it into aruntimeOnly
dependency?The text was updated successfully, but these errors were encountered: