Question: In this class I will expect you to figure things out on your own sometimes and this Gradle part is a step in this direction.
In this class I will expect you to figure things out on your own sometimes and this Gradle
part is a step in this direction. You are supposed to add a task into your Gradle file
buildgradle to create a jar file that can be executed and includes all dependencies. To
do so search for "fatJar Gradle" using Google. One of the first things you should find is
from baeldung. You will find that there is a customFatJar task introduced. Use this task
as a template. Now change this task so it is called fatJar instead of customFatJar and
the task should name the created jar file asuritememoranda.jar. Tip figure out what this
task does and make all the necessary changes so it builds your project correctly.
When you do it correctly you should be able to run gradle fatJar in the command line,
which should give you the executable JAR in your build directory look in the subdirectories as well When you execute java jar asuritememoranda.jarmemoranda will in
this case be your team name in the directory that contains the JAR file that was created,
the application should open. Take a screenshot of your terminal with your successful build
and include it in your document under Task
So we see what you did: Now, commit your changes to the build.gradle file to your
branch and push to the repository. I also want you to add the asuritememoranda.jar file
to your repo into your branch. Put it directly into the main folder copy it into the same
folder the README and build.gradle file is in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
