File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11@file:Suppress(" UnstableApiUsage" )
22// Shared build logic for all versions of OneConfig.
33
4- import org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency
54import org.polyfrost.gradle.provideIncludedDependencies
65import org.polyfrost.gradle.util.noServerRunConfigs
76import java.text.SimpleDateFormat
@@ -133,7 +132,8 @@ tasks {
133132 exclude(" mcmod.info" )
134133 }
135134 }
136- // Removes the TestMod entrypoint from the generated JARs.
135+
136+ // Removes the test-related stuff from everything
137137 doLast {
138138 val mainResources = layout.buildDirectory.get().asFile.resolve(" resources" )
139139 .resolve(" main" )
@@ -144,6 +144,8 @@ tasks {
144144 fabricModJson.writeText(lines.joinToString(" \n " ))
145145 }
146146 }
147+ exclude(" **/**_Test.**" )
148+ exclude(" **/**_Test$**.**" )
147149 }
148150 remapJar {
149151 from(shadow.files.map { zipTree(it) })
You can’t perform that action at this time.
0 commit comments