-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Exclude unnecessary file and folders from release distribution #114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice @SaeedZhiany - Yes, the jar file should not be distributed. In addition to gradle/
, you can also consider excluding the following files. They are all part of (or generated by) a Gradle wrapper distribution:
.gradle/
build/
gradlew
gradlew.bat
local.properties
@friederbluemle
|
Let me know when this PR is OK for you guys, thanks for your help! 💯 |
@SaeedZhiany - You would need to either put these entries into a separate |
@friederbluemle
is it OK? @jdnichollsc |
Ideally, you'd also want to add a For this repository, the recommended setup would be:
|
@friederbluemle |
Good question - Since |
Btw, you can remove |
To test what will be included, just run:
|
Thanks, @friederbluemle! I learn more new things every day from you 👍 |
@jdnichollsc this is the list of all files that will be package after merging this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally, everything looks great. Ready to merge @jdnichollsc 👍
thanks for your help guys! 🥇 |
Please also consider to release a new version. |
give me a moment please 👍 |
@jdnichollsc - Could you also merge #115 before the release? Even more unnecessary files will be excluded. |
Exclude unnecessary file and folders from release distribution
I already have the folder in my project that used this library as a dependency.
so I add the folder into
.npmignore
to exclude it from release distributions.you can take a look at the discussion on this PR
cc @friederbluemle