💻Maven and Gradle
Tag - current version form GitHub releases section:
<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>
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.timsixth.MinigameAPI:api:Tag'
}
Other modules:
Maven:
<!--includes all modules-->
<dependency>
<groupId>com.github.timsixth</groupId>
<artifactId>MinigameAPI</artifactId>
<version>Tag</version>
</dependency>
<!-- 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>
<!-- example-minigame module includes example usage of minigame-->
<dependency>
<groupId>com.github.timsixth.MinigameAPI</groupId>
<artifactId>example-minigame</artifactId>
<version>Tag</version>
</dependency>
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'
}
Last updated