
Repeat the above step for gherkin and install the same.Navigate to Preferences -> Plugins, search for cucumber for Java and click on Install (if it’s not previously installed).

This would pull all the dependency in External Libraries. Once done, navigate to View -> Tools Window -> Gradle and click on Refresh all gradle projects icon.TestCompile group: 'junit', name: 'junit', version: '4.11'Ĭompile group: 'info.cukes', name: 'cucumber-java',Ĭompile group: 'io.appium', name: 'java-client', Below is how the gradle file should look like:.This would add appium and cucumber-jvm under dependencies.Ĭompile group: 'info.cukes', name: 'cucumber-java', version:Ĭompile group: 'io.appium', name: 'java-client', version: You would see a message as shown below, click on Ok, apply suggestion! We should have a project created with default structure.IntelliJ would be running the background task (Gradle build) which can be seen in the status bar.Choose a Project location and click on Finish. Project name field would be auto populated with what you gave as ArtifactId.Check the option Use Auto-Import and make sure Gradle JVM is populated.

Click on Next, enter the GroupId as com.test and ArtifactId as HelloAppium.

Project SDK should get populated with the Java version.
