gradle commands to build java project code example Example: gradle init java application gradle init --type java-application