

This default Java Gradle project, creates one Java file: Person.java and one JUnit test class PersonTest.java as shown below.We will discuss this file content in detail in coming posts and also provide you one post about Gradle and Maven build scripts differences in detail. If you don’t understand this file content at this stage, don’t worry.

TestCompile group: 'junit', name: 'junit', version: '4.+'

It is recommended to use forward slash ‘/’ in the path (If you want use Backslash, see that you use the escape characteri.e. Yes, Gradle uses Maven Project structure but instead of pom.xml file, we have adle file. Open the install wizard (Menu: Help > Install New Software) Click Add button to open the Add Repository dialog. The path should point to a directory which has a eclipse folder which in turn has features and plugins as sub-folders. If you observe this project structure, Gradle Project is same as Maven Project structure.
