Skip to content

Latest commit

 

History

History
62 lines (50 loc) · 2.47 KB

README.md

File metadata and controls

62 lines (50 loc) · 2.47 KB

modlauncher-injector-junit

GitHub Workflow Status (branch) MIT License Maven Central Sonatype Nexus (Snapshots)

A helper library to allow running JUnit tests in a ModLauncher context.

Prerequisites

  • Java 8

Building from Source

In order to build you simply need to run the ./gradlew build command. You can find the compiled JAR file in ./build/libs labeled similarly to 'modlauncher-injector-junit-x.x.x-SNAPSHOT.jar'.

Contributing

Are you a talented programmer looking to contribute some code? We'd love the help!

  • Open a pull request with your changes, following our guidelines.

Usage

modlauncher-injector-junit publishes releases on Maven Central and Sponge's own repository. Snapshots are published on Sonatype OSSRH and Sponge's repository.

If you're using Gradle to manage project dependencies, simply include the following in your build.gradle file:

repositories {
  // releases
  mavenCentral()
  // snapshots
  maven {
    url "https://repo.spongepowered.org/repository/maven-public/"
  }
}

dependencies {
  implementation "org.spongepowered:modlauncher-injector-junit:1.0.0"
}

If you're using Maven to manage project dependencies, simply include the following in your pom.xml file:

<dependency>
  <groupId>org.spongepowered</groupId>
  <artifactId>modlauncher-injector-junit</artifactId>
  <version>1.0.0</version>
</dependency>

Credits