Dependencies
Describes how to add Minestom as a dependency in your project.
Adding Microtus to your Java project is really simple, you only need to add a few repositories:
Repositories
repositories {
mavenCentral()
}repositories {
mavenCentral()
}Dependencies
dependencies {
implementation platform('net.onelitefeather.microtus:bom:version')
implementation 'net.onelitefeather.microtus:Microtus' // Main Components
testImplementation 'net.onelitefeather.microtus.testing:testing' // Testing Components
}dependencies {
implementation(platform("net.onelitefeather.microtus:bom:VERSION")
implementation("net.onelitefeather.microtus:Microtus") // Main components
testImplementation("net.onelitefeather.microtus.testing:testing") // Test components
}<project ...>
<modelVersion>4.0.0</modelVersion>
<groupId>your.project</groupId>
<artifactId>microtus-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Microtus </name>
<parent>
<groupId>net.onelitefeather.microtus</groupId>
<artifactId>bom</artifactId>
<version>VERSION</version>
</parent>
<dependencies>
<!-- ... -->
<dependency>
<groupId>net.onelitefeather.microtus</groupId>
<artifactId>Microtus</artifactId>
</dependency>
<dependency>
<groupId>net.onelitefeather.microtus.testing</groupId>
<artifactId>testing</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project><dependencyManagement>
<dependencies>
<dependency>
<groupId>net.onelitefeather.microtus</groupId>
<artifactId>bom</artifactId>
<version>VERSION</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- ... -->
<dependency>
<groupId>net.onelitefeather.microtus</groupId>
<artifactId>Microtus</artifactId>
</dependency>
<dependency>
<groupId>net.onelitefeather.microtus.testing</groupId>
<artifactId>testing</artifactId>
<scope>test</scope>
</dependency>
</dependencies>A list of versions can be found at https://central.sonatype.com/search?q=microtus.
Last updated
Was this helpful?
