mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-28 16:06:10 +00:00
1 parent
5b22a60984
commit
311d177ca7
2 files changed
+9
No files matched your search
@@ -2,6 +2,7 @@ import com.gtnewhorizons.retrofuturagradle.minecraft.RunMinecraftTask
|
||||
import com.gtnewhorizons.retrofuturagradle.util.Distribution
|
||||
import com.modrinth.minotaur.ModrinthExtension
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
import java.nio.charset.StandardCharsets
|
||||
import java.time.OffsetDateTime
|
||||
import java.time.ZoneOffset
|
||||
import java.time.format.DateTimeFormatter
|
||||
@@ -138,8 +139,14 @@ val forgePatchesJar = tasks.register<Jar>("forgePatchesJar") {
|
||||
filesMatching("META-INF/*") {
|
||||
this.name = "${dep.name}-${this.name}"
|
||||
}
|
||||
filesMatching("META-INF/services/javax.script.ScriptEngineFactory") {
|
||||
this.exclude()
|
||||
}
|
||||
}
|
||||
}
|
||||
from(resources.text.fromString("org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory\norg.mvel2.jsr223.MvelScriptEngineFactory").asFile(StandardCharsets.UTF_8.name())) {
|
||||
rename { return@rename "META-INF/services/javax.script.ScriptEngineFactory" }
|
||||
}
|
||||
exclude("module-info.class")
|
||||
exclude("META-INF/versions/9/module-info.class")
|
||||
exclude("log4j2.xml")
|
||||
|
||||
@@ -43,6 +43,8 @@ dependencies {
|
||||
forgePatchesEmbedded("org.apache.commons:commons-lang3:3.14.0")
|
||||
forgePatchesEmbedded("org.apache.commons:commons-compress:1.26.2")
|
||||
forgePatchesEmbedded("commons-io:commons-io:2.15.1")
|
||||
// For Just Another Spawner
|
||||
forgePatchesEmbedded("org.mvel:mvel2:2.5.2.Final")
|
||||
|
||||
compileOnly("org.jetbrains:annotations:24.1.0")
|
||||
|
||||
|
||||
Reference in new issue
Block a user