This tutorial assumes that the JDeli jar file is named "jdeli.jar", if you're using the trial jar, make sure to rename the file to "jdeli.jar" before following this step.
In order to use JDeli in a Gradle project, you will need to add the jar to the project as a dependency. To do this you will need to first download the JDeli jar from here.
First add JDeli jar into your project lib folder, and then either:
Add a flatDir repository and a dependency to the build.gradle file.
Add a file dependency to the build.gradle file.
(Version tested: Gradle 6.6.1)