Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 2.02 KB

README.md

File metadata and controls

74 lines (64 loc) · 2.02 KB

Modrinth4J

A fully-compliant blazing fast Java wrapper for the Modrinth API

Features:

This API presents a (more than) full up-to-date coverage of the Modrinth API, allowing for intuitive native integration with existing java projects.

Adding to a project:

Stable Release Channel

Modrinth4J is distributed through Maven Central, so just adding the following is enough.

Gradle:

dependencies {
      implementation 'dev.masecla:Modrinth4J:2.0.0'
}

Maven

<dependency>
    <groupId>dev.masecla</groupId>
    <artifactId>Modrinth4J</artifactId>
    <version>2.0.0</version>
</dependency>

Bleeding Edge

The following is for running Modrinth4J on the bleeding edge.

Gradle:

Add jitpack to the gradle repositories:

repositories { 
     maven { url "https://jitpack.io" }
}

Add Modrinth4J from jitpack to the dependencies:

dependencies {
      implementation 'com.github.masecla22:Modrinth4J:master-SNAPSHOT'
}

Maven:

Add jitpack to your maven repositories:

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

Add Modrinth4J from jitpack:

<dependency>
    <groupId>com.github.masecla22</groupId>
    <artifactId>Modrinth4J</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

Examples:

[insert examples]