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

Make it possible to disable addResourceDir #579

Closed
AB-xdev opened this issue Jul 23, 2024 · 1 comment · Fixed by #580
Closed

Make it possible to disable addResourceDir #579

AB-xdev opened this issue Jul 23, 2024 · 1 comment · Fixed by #580

Comments

@AB-xdev
Copy link
Contributor

AB-xdev commented Jul 23, 2024

The problem

Currently THIRD-PARTY.txt always ends up inside the classpath root of my jar, but I don't need it there.

Cause

addResourceDir(outputDirectory, "**/*.txt");

Possible solution

Make it possible to disable this behavior using a flag (which is enabled by default for compatibility), e.g. named addOutputDirectoryAsResourceDir

@AB-xdev
Copy link
Contributor Author

AB-xdev commented Jul 23, 2024

Did a quick PR that should resolve this: #580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants