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

Adding documentation about creation of uber-JARs #3785

Merged
merged 5 commits into from
Aug 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing linelint error
Signed-off-by: Pranav Garg <pranavgarg@gmail.com>
  • Loading branch information
Pranav Garg authored and pgtgrly committed Jul 6, 2022
commit 10f4309b977f5a4f5baa213213d849425e3f844b
1 change: 0 additions & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,4 +509,3 @@ Add the shadow plugin:
```
apply plugin: 'com.github.johnrengelman.shadow'
```
Copy link
Member

Choose a reason for hiding this comment

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

And then what? What do I type now to generate the fat JAR and what does it produce? Feel free to include console output, just walk me through it like a 2yo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies, I had previously added the following steps but somehow they did not make it to the commit. updating the PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the console output:

(base) garprana@88665a37c3c3 rest-high-level % ../../gradlew shadowJar

> Configure project :qa:os
Cannot add task 'destructiveDistroTest.docker' as a task with that name already exists.
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 6.6.1
  OS Info               : Mac OS X 12.4 (x86_64)
  JDK Version           : 11 (JDK)
  JAVA_HOME             : /Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
  Random Testing Seed   : D0C50CCED424B21E
  In FIPS 140 mode      : false
=======================================

BUILD SUCCESSFUL in 9s
36 actionable tasks: 1 executed, 35 up-to-date

Which is not providing a lot of information so have not included it in the document.