💻Maven and Gradle

Tag - current version form GitHub releases section:

https://github.com/timsixth/MinigameAPI/releases

It's recommended to use Maven.

Maven:

<repositories>
  <repository>
   <id>jitpack.io</id>
   <url>https://jitpack.io</url>
  </repository>
</repositories>
<!-- library module includes addon system, api, addons-api and runnable plugin-->
<dependency>
   <groupId>com.github.timsixth.MinigameAPI</groupId>
   <artifactId>library</artifactId>
   <version>Tag</version>
</dependency>

<!-- library-lite module includes only api and runnable plugin-->
<dependency>
   <groupId>com.github.timsixth.MinigameAPI</groupId>
   <artifactId>library-lite</artifactId>
   <version>Tag</version>
</dependency>

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

<!-- addons-api module includes only api and addons-api-->
<dependency>
   <groupId>com.github.timsixth.MinigameAPI</groupId>
   <artifactId>addons-api</artifactId>
   <version>Tag</version>
</dependency>

<!-- example-minigame module includes example usage of minigame-->
<dependency>
   <groupId>com.github.timsixth.MinigameAPI</groupId>
   <artifactId>example-minigame</artifactId>
   <version>Tag</version>
</dependency>

Gradle:

allprojects {
repositories {
   maven { url 'https://jitpack.io' }
  }
}
  
 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 only api and library-lite modules
   implementation 'com.github.timsixth.MinigameAPI:library-lite:Tag'   
   //includes only api module
   implementation 'com.github.timsixth.MinigameAPI:api:Tag' 
   //includes only api and addons-api modules
   implementation 'com.github.timsixth.MinigameAPI:addons-api:Tag' 
   //includes example-minigame module
   implementation 'com.github.timsixth.MinigameAPI:example-minigame:Tag' 
   
}

Last updated