Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
(build.gradle) 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 asurite_memoranda.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 asurite_memoranda.jar(memoranda 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 2.2.
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 asurite_memoranda.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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 23rd European Conference Adbis 2019 Bled Slovenia September 8 11 2019 Proceedings Lncs 11695

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Aida Kamisalic Latific

1st Edition

3030287297, 978-3030287290

More Books

Students also viewed these Databases questions