Set Up Your Project
This page describes how you can add Minesweeper API to your own projects, using Gradle or Maven.
info
The developer API currently in initial planning stage, and the structure are subject to change. If there any changes to the API, it will show in the change log.
For you to keep track of breaking/minor api changes or additions, visit [API Changelog] page.
Adding Minesweeper API dependency
- pom.xml
- build.gradle
- build.gradle.kts
<repository>
<id>fantasyrealms-releases</id>
<name>Fantasy Realms Repository</name>
<url>https://repo.fantasyrealms.net/releases</url>
</repository>
<dependency>
<groupId>cc.happyareabean</groupId>
<artifactId>minesweeper-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
maven {
url "https://repo.fantasyrealms.net/releases"
}
dependencies {
compileOnly 'cc.happyareabean:minesweeper-api:1.0.0-SNAPSHOT'
}
maven {
url = uri("https://repo.fantasyrealms.net/releases")
}
dependencies {
compileOnly("cc.happyareabean:minesweeper-api:1.0.0-SNAPSHOT")
}