# Maven and Gradle

{% hint style="info" %}
Tag - current version form GitHub releases section:

[https://github.com/timsixth/MinigameAPI/releases](https://github.com/timsixth/MinigameAPI/releases)
{% endhint %}



{% tabs %}
{% tab title="Maven" %}
```markup
<repositories>
  <repository>
   <id>jitpack.io</id>
   <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependency>
   <groupId>com.github.timsixth.MinigameAPI</groupId>
   <artifactId>api</artifactId>
   <version>Tag</version>
</dependency>
```
{% endtab %}

{% tab title="Gradle (Groovy)" %}
```gradle
allprojects {
repositories {
   maven { url 'https://jitpack.io' }
  }
}

dependencies {
   implementation 'com.github.timsixth.MinigameAPI:api:Tag'  
}
```
{% endtab %}
{% endtabs %}



#### Other modules:

Maven:

<pre class="language-xml"><code class="lang-xml">
&#x3C;!-- library module includes addon system, api, addons-api and runnable plugin-->
&#x3C;dependency>
<strong>   &#x3C;groupId>com.github.timsixth.MinigameAPI&#x3C;/groupId>
</strong><strong>   &#x3C;artifactId>library&#x3C;/artifactId>
</strong>   &#x3C;version>Tag&#x3C;/version>
&#x3C;/dependency>

&#x3C;!-- api module includes only api and T-DataBasesAPI (It's recommended to use this module 
to create the minigame)-->
&#x3C;dependency>
   &#x3C;groupId>com.github.timsixth.MinigameAPI&#x3C;/groupId>
   &#x3C;artifactId>api&#x3C;/artifactId>
   &#x3C;version>Tag&#x3C;/version>
&#x3C;/dependency>

&#x3C;!-- example-minigame module includes example usage of minigame-->
&#x3C;dependency>
   &#x3C;groupId>com.github.timsixth.MinigameAPI&#x3C;/groupId>
   &#x3C;artifactId>example-minigame&#x3C;/artifactId>
   &#x3C;version>Tag&#x3C;/version>
&#x3C;/dependency>
</code></pre>

Gradle:

```gradle
 dependencies {
   //includes all modules
   implementation 'com.github.timsixth:MinigameAPI:Tag'
   //includes only library, api, and addons-api modules
   implementation 'com.github.timsixth.MinigameAPI:library:Tag' 
   //includes example-minigame module
   implementation 'com.github.timsixth.MinigameAPI:example-minigame:Tag' 
   
}
```
