Saturday 10 September 2016

Setup gradle project in IntelliJ

This tutorial assumes you have already installed Gradle and JDK

  • Open IntelliJ IDEA and in the Welcome to IntelliJ IDEA window click on Create New Project
  • In  the New Project window select from the list on the left Gradle then in the Additional Libraries and Frameworks: section select Java and click Next
this will not work if you have no JDK installed
  • In the next step:
    • under the GroupId enter your group id in reverse website format (can be anything)
    • under the ArtifactId enter your artifact id (can be anything)
    • under the Version enter 1.0 (or leave unchanged)
  • And click Next

  • In the next step tick Use auto-import
  • Tick Use local gradle distribution
  • Enter the gradle location or Browse for gradle installation directory



  • So now if your setup looks like this, click Next
  • Next check if the name and location of the project is correct, if not modify accordingly and click Finish


No comments:

Post a Comment