Add a subproject with a JUnit session listener
Will allow running JUnits in a bootstrapped Minecraft environment.
Outside of some documentation as to what the components do, this is good from my end.
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: @.***>
- [x] Publish PR to GitHub Packages
Last commit published: 8a40ebc2d39104fce7bbc0a0b510bfef191af0a4.
PR Publishing
The artifacts published by this PR:
- :package:
net.neoforged.fancymodloader:earlydisplay:3.0.53-pr-54-junit - :package:
net.neoforged.fancymodloader:junit-fml:3.0.53-pr-54-junit - :package:
net.neoforged.fancymodloader:loader:3.0.53-pr-54-junit
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')
}
}
}