Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
I added exclude("com/package/**") to shadowJar configuration.
It worked fine on my local PC because I force a clean build each time, but CI was stubbornly producing jar files with excluded files in the jar.
It only produced the correct jar after wiping all caches from CI.
Expected and Results
I added
exclude("com/package/**")
to shadowJar configuration.It worked fine on my local PC because I force a clean build each time, but CI was stubbornly producing jar files with excluded files in the jar. It only produced the correct jar after wiping all caches from CI.
Related environent and versions
Gradle 8.10, Linux, Shadow 8.3.3, Gradle build cache
Reproduction steps
No response
Anything else?
No response