Wiki 9Minecraft Applecore Wiki
Applecore WikiDocumentation › Building Against Applecore

Building Against Applecore

Resources

  • Maven Repository

Option 1: Building against the API using Maven/Gradle

If you only want to add some integration with AppleCore to your mod but don't want AppleCore itself in your dev environment, you can use Gradle to automatically download and include the AppleCore API in your build path by doing the following:

  • Add the Maven repository to your build.gradle script (copy and paste the code at the top of the linked page into your build.gradle script).
  • Include the Gradle dependencies declaration of the AppleCore API in your build.gradle.

Option 2: Building against AppleCore using Maven/Gradle

You can add the AppleCore mod itself into your dev environment by doing the following:

  • Add the Maven repository to your build.gradle script (copy and paste the code at the top of the linked page into your build.gradle script).
  • Include the Gradle dependencies declaration of either the latest build or the last release version of AppleCore in your build.gradle.

The Next Step

Using the AppleCore API