Skip to content

Commit

Permalink
Address complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jan 24, 2024
1 parent d3f0060 commit 4d2864b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ allprojects {
apply plugin: 'net.neoforged.gradleutils'

group = 'net.neoforged.fancymodloader'
version = gradleutils.getTagOffsetVersion()
version = (gradleutils.getTagOffsetVersion() + '-junit')

repositories {
mavenCentral()
Expand Down Expand Up @@ -57,7 +57,7 @@ allprojects {
}

subprojects { subProject ->
subProject.version = gradleutils.getTagOffsetVersion()
subProject.version = (gradleutils.getTagOffsetVersion() + '-junit')

jar {
manifest.attributes(
Expand Down
4 changes: 2 additions & 2 deletions junit/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import net.neoforged.fml.junit.JUnitService;
import org.junit.platform.launcher.LauncherSessionListener;

module net.neoforged.fancymodlauncher.junit {
module net.neoforged.fml.junit {
requires org.junit.platform.launcher;
requires cpw.mods.bootstraplauncher;
provides LauncherSessionListener with JUnitService;
}
}
1 change: 1 addition & 0 deletions loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dependencies {
testCompileOnly("org.jetbrains:annotations:${jetbrains_annotations_version}")
testRuntimeOnly("cpw.mods:bootstraplauncher:${bootstraplauncher_version}")

// Provides the JUnit project as a BOM entry
constraints {
api(project(':junit'))
}
Expand Down

0 comments on commit 4d2864b

Please sign in to comment.