First, make a new project on IntelliJ. Here you will get various options, select the “Gradle” option from that.
Next, you will see a checkbox that shows the entire empty directories like source test Java or source main Java.
From there, you will select a build wrapper (Gradle) to move on with the project’s process and modify the version of the JVM to 1.8. It will lastly show you the skeletons the project has.