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

feat(java): add fat jar APIC-262 #272

Merged
merged 1 commit into from
Apr 26, 2022
Merged

feat(java): add fat jar APIC-262 #272

merged 1 commit into from
Apr 26, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Mar 21, 2022

🧭 What and Why

🎟 JIRA Ticket: APIC-262

Include fat jar including all libs requested by some clients, this make the size of the jar go from 500KB to 3.5MB
It can be accessed has com.algolia.algoliasearch-core-all:0.0.1-SNAPSHOT

Changes included:

  • Add fat jar

🧪 Test

./gradle/gradlew -p clients/algoliasearch-client-java-2 assemble

@netlify
Copy link

netlify bot commented Mar 21, 2022

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 1f9a94f
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6267add557b6790009a10c46
😎 Deploy Preview https://deploy-preview-272--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@millotp millotp self-assigned this Mar 23, 2022
@millotp millotp changed the base branch from main to feat/java-release April 22, 2022 10:16
@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 22, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.

Base automatically changed from feat/java-release to main April 22, 2022 12:47
@millotp millotp marked this pull request as ready for review April 26, 2022 08:34
@millotp millotp requested review from a team, eunjae-lee and damcou and removed request for a team April 26, 2022 08:34
Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still totally clear to me what is the purpose of having such a file, in which case the users will prefer having a bigger file ? For dev purposes ?

@millotp
Copy link
Collaborator Author

millotp commented Apr 26, 2022

This is still totally clear to me

perfect then no explanation needed 😁

This includes all the dependencies such as HTTP client and JSON parser, that mean this jar can be used as a standalone without a build system that will download the dependencies, and this is required by some big company

Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go then 🚀

@millotp millotp merged commit 384af93 into main Apr 26, 2022
@millotp millotp deleted the feat/fat-jar branch April 26, 2022 09:24
shortcuts pushed a commit that referenced this pull request Apr 26, 2022
algolia-bot added a commit to algolia/algoliasearch-client-java that referenced this pull request Apr 26, 2022
algolia/api-clients-automation#272

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants