An API for Spigot/Glowstone and more!
Hello, I'm sorry but Maven isn't supported :/
Put in repositories section:
maven {
url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
}
maven {
url "http://repo.glowstone.net/content/repositories/snapshots/"
}
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
ivy {
url "http://www.tcpr.ca/files/"
layout 'pattern', {
artifact '[module]/[module]-[revision].[ext]'
}
}
maven {
url "https://dl.bintray.com/w67clement/maven"
}
mavenCentral();
jcenter();
And put in dependencies section:
compile 'com.w67clement.mineapi:mineapi:2.2.0-dev4'
Ho, you want modify MineAPI? Clone the project into a directory, if:
Open Cmd in the working directory and execute:
Whether you use Eclipse, execute gradlew eclipse
and Gradle setup the Workspace for Eclipse!
Whether you use Intellij IDEA, execute gradlew idea
and Gradle setup the Workspace for IDEA!
Now you can modify MineAPI!
And build?
It's easy! You just execute gradlew build
and Gradle compile MineAPI!
Open Terminal in the working directory and execute:
Whether you use Eclipse, execute ./gradlew eclipse
and Gradle setup the Workspace for Eclipse!
Whether you use Intellij IDEA, execute ./gradlew idea
and Gradle setup the Workspace for IDEA!
If Terminal say Permission denied
, you need execute chmod +x gradlew
before.
Now you can modify MineAPI!
And build?
It's easy! You just execute ./gradlew build
and Gradle compile MineAPI!
You need Java 8 for compile MineAPI and modify it!
On drone.io: MineAPI