A helper library to allow running JUnit tests in a ModLauncher context.
- Java 8
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'.
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.
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>
- Sponge and contributors.
- Contributors of ModLauncher and JUnit.
- All the people behind Java, Maven, and Gradle.