# Gradle

Create a new project within your IDE and navigate over to the **build.gradle.kts** file. In your build.gradle, you should see a **`repositories {`** tag, if you don't see it, then go ahead and add it like this:

```kts
repositories {
    mavenCentral()
}
```

Now, once you have added this (*or have it already),* you want to go ahead and add the snapshot repository, this is needed because otherwise Gradle will not find the dependency.&#x20;

The final piece should look like this:

```kts
repositories {
  mavenCentral()
  maven("https://repo.kazury.me/snapshots")
}
```

Now, once the repository has been added, we also want to go ahead and add the dependency. For this you will once again, need a **`dependencies {`** tab.&#x20;

```kts
dependencies {

}
```

Once added, you will also want to add the dependency.

```kts
dependencies {
   compileOnly("me.kazury", "EnkaNetworkAPI", "6.0-SNAPSHOT")
}
```

{% hint style="warning" %}
Gradle does not automatically refresh dependencies, in order to see the classes from the dependency, you need to refresh gradle once and let it download.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enka-docs.kazury.me/getting-started/installation/gradle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
