File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
src/test/resources/META-INF Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ neoForge {
2525 create(" spatial" ) {
2626 modSourceSets.add(spatialLib.sourceSets.main)
2727 }
28-
29- create(" spatialtest" ) {
30- modSourceSets.add(sourceSets.test)
31- }
3228 }
3329
3430 unitTest {
@@ -41,18 +37,20 @@ neoForge {
4137 this .type = " gameTestServer"
4238 gameDirectory.set(file(" runs/gametest" ))
4339
44- systemProperty(" neoforge.enabledGameTestNamespaces" , " spatialtest " )
40+ systemProperty(" neoforge.enabledGameTestNamespaces" , " spatial " )
4541
4642 this .sourceSet = sourceSets.test
4743 }
4844 }
4945}
5046
5147dependencies {
52- testImplementation(spatialLib)
48+ testCompileOnly(spatialLib)
49+ additionalRuntimeClasspath(spatialLib)
50+
5351 testImplementation(neoforged.testframework)
5452
55- testImplementation(" org.junit.jupiter:junit-jupiter:5.7.1 " )
53+ testImplementation(" org.junit.jupiter:junit-jupiter:5.11.3 " )
5654 testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
5755}
5856
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ loaderVersion = "${loader_version_range}"
33license = " MIT"
44
55[[mods ]] # mandatory
6- modId = " spatialtest "
6+ modId = " spatial "
77version = " 0.0.1"
88displayName = " Spatial Test Mod"
99authors = " RobotGryphon" # optional
@@ -16,14 +16,14 @@ displayURL = "https://compactmods.dev"
1616# logoFile="examplemod.png" #optional
1717
1818# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
19- [[dependencies .spatialtest ]] # optional
19+ [[dependencies .spatial ]] # optional
2020modId = " neoforge"
2121type = " required"
2222versionRange = " ${neo_version_range}"
2323ordering = " NONE"
2424side = " BOTH"
2525
26- [[dependencies .spatialtest ]]
26+ [[dependencies .spatial ]]
2727modId = " minecraft"
2828type = " required"
2929versionRange = " ${minecraft_version_range}"
You can’t perform that action at this time.
0 commit comments