FancyModLoader icon indicating copy to clipboard operation
FancyModLoader copied to clipboard

Add a subproject with a JUnit session listener

Open Matyrobbrt opened this issue 2 years ago • 3 comments

Will allow running JUnits in a bootstrapped Minecraft environment.

Matyrobbrt avatar Dec 15 '23 19:12 Matyrobbrt

Outside of some documentation as to what the components do, this is good from my end.

marchermans avatar Dec 15 '23 19:12 marchermans

In reality it will almost always not be on module path

Technici4n @.***> schrieb am Di., 23. Jan. 2024, 14:53:

@.**** commented on this pull request.

In junit/src/main/resources/META-INF/services/org.junit.platform.launcher.LauncherSessionListener https://github.com/neoforged/FancyModLoader/pull/54#discussion_r1463316473 :

@@ -0,0 +1 @@ +net.neoforged.fml.junit.JUnitService

Any reason to specify the services both in the module-info and in META-INF? Do we expect users to launch this outside of the module path?

— Reply to this email directly, view it on GitHub https://github.com/neoforged/FancyModLoader/pull/54#pullrequestreview-1838849162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJT6V2GBNKB2DKDWQJDUITYP66FLAVCNFSM6AAAAABAW3XOEKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMZYHA2DSMJWGI . You are receiving this because you commented.Message ID: @.***>

shartte avatar Jan 23 '24 14:01 shartte

  • [x] Publish PR to GitHub Packages

Last commit published: 8a40ebc2d39104fce7bbc0a0b510bfef191af0a4.

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name 'Maven for PR #54' // https://github.com/neoforged/FancyModLoader/pull/54
        url 'https://prmaven.neoforged.net/FancyModLoader/pr54'
        content {
            includeModule('net.neoforged.fancymodloader', 'earlydisplay')
            includeModule('net.neoforged.fancymodloader', 'junit-fml')
            includeModule('net.neoforged.fancymodloader', 'loader')
        }
    }
}