Closed meydominic closed 5 years ago
4.0.1 has a breaking API change for transformers per the change log (yeah I know that’s not good form, but there were features for the 4.0.0 release that were broken and couldn’t be fixed without the change)
I’m not clear from this issue if you are using the built in log4jtranaformer that is included in shadow starting in 4.0.0
Closing as this transformer is now embedded in Shadow and the external dependency is no longer needed.
Using 4.0.0 (4.0.1 not working with shadow-transformer from Boegl) of shadow with latest shadow-transformer from Sebastian Boegl works fine. Using latest Log4j (2.11.1).
Shadow Version
latest - 4.0.1
Gradle Version
latest - 4.10.2
Expected Behavior
fatJar should launch with Log4j2 config file. Running from within IDE (intelliJ) works fine
Actual Behavior
fatJar launches with error messages:
Gradle Build Script(s)
Content of Shadow JAR (
jar tf <jar file>
- post link to GIST if too long)https://gist.github.com/dominicE/be8936395b2881139dfbb7f8de8d59ee