How to create new gradle java project

Create directory for your project

Go to this new directory and run command

gradle init --type java-library

Advertisements