> For the complete documentation index, see [llms.txt](https://n-saikiran.gitbook.io/appium-mobile-automation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n-saikiran.gitbook.io/appium-mobile-automation/appium-for-beginners/cucumber-jvm-appium-gradle-project.md).

# Cucumber-JVM-Appium - Gradle Project

## Creating Gradle Project <a href="#creating-gradle-project" id="creating-gradle-project"></a>

You can choose to create a gradle project. Below steps will guide you for the same.

* Select **New Project**
* In the New Project window, select **Gradle** on the left side of the screen as shown below. If the SDK is already defined in IntelliJ then it will pick up from there, else click New and select the installation folder of the desired JDK.&#x20;

  ![](https://2766960072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4S6_RrxngPvmkeJs5f%2F-M4S6_qa0bmwljCVD7nF%2F-M4S6aWkbiHwQW9s4RIw%2FScreen%20Shot%202016-10-05%20at%207.34.41%20AM.png?generation=1586405211004417\&alt=media)
* Click **Next**
* Give a **GroupID**, **ArtifactID**, and a **Version** for the project. Click Next.![](https://2766960072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4S6_RrxngPvmkeJs5f%2F-M4S6_qa0bmwljCVD7nF%2F-M4S6aWmn2BrEGyntAq5%2FScreen%20Shot%202016-10-05%20at%207.35.04%20AM.png?generation=1586405211548479\&alt=media)
* Select the option of "**Use auto-import**" and "**Create directories for empty content...**". Click Next![](https://2766960072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4S6_RrxngPvmkeJs5f%2F-M4S6_qa0bmwljCVD7nF%2F-M4S6aWotbJ7rAMOw_p0%2FScreen%20Shot%202016-10-05%20at%207.35.18%20AM.png?generation=1586405211315256\&alt=media)
* Lastly enter a **project name** and **project location** and click on **Finish**.![](https://2766960072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4S6_RrxngPvmkeJs5f%2F-M4S6_qa0bmwljCVD7nF%2F-M4S6aWqBQ_6RCu2MXaA%2FScreen%20Shot%202016-10-05%20at%207.35.32%20AM.png?generation=1586405211148922\&alt=media)

It should create a project with following structure.![](https://2766960072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4S6_RrxngPvmkeJs5f%2F-M4S6_qa0bmwljCVD7nF%2F-M4S6aWsrBfce_AjH0Ul%2FScreen%20Shot%202016-10-05%20at%207.52.09%20AM.png?generation=1586405211760816\&alt=media)

## Adding dependencies to build.gradle <a href="#adding-dependencies-to-buildgradle" id="adding-dependencies-to-buildgradle"></a>

Open build.gradle file and copy the below two lines

`compile 'io.appium:java-client:4.0.0'`

````
```testCompile 'info.cukes:cucumber-java:1.2.4',
            'info.cukes:cucumber-junit:1.2.4'
````

## Adding app folder <a href="#adding-app-folder" id="adding-app-folder"></a>

Once the project is created, created folder called **apps** and put the **.apk** file there which is your application under test.
