View on GitHub

main

Must Do List ( Task Scheduler Application )

Using Gradle

Gradle is a build automation tool. It can automate build-related tasks such as

The gradle configuration for this project is defined in the build script build.gradle.

The provided build script is enough for this project.
If you wish to modify the build script, you can refer Build Scripts Basics to learn more about build scripts.

Running Gradle Commands

To run a Gradle command, open a command window on the project folder and enter the Gradle command. Gradle commands look like this:

Cleaning the Project

Creating the JAR file

Note: Why do we create a fat JAR? If we package only our own class files into the JAR file, it will not work properly unless the user has all the other JAR files (i.e. third party libraries) our classes depend on, which is rather inconvenient. Therefore, we package all dependencies into a single JAR files, creating what is also known as a fat JAR file. To create a fat JAR fil, we are using the Gradle plugin shadow jar.

Running Tests

Here are some examples:

Updating Dependencies

There is no need to run these Gradle tasks manually as they are called automatically by other relevant Gradle tasks.