Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to exclude(...) ignored unless clean build is forced #1005

Open
ninja- opened this issue Oct 20, 2024 · 0 comments
Open

Changes to exclude(...) ignored unless clean build is forced #1005

ninja- opened this issue Oct 20, 2024 · 0 comments
Labels

Comments

@ninja-
Copy link

ninja- commented Oct 20, 2024

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

@ninja- ninja- added the bug label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant