mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-14 19:25:13 -05:00
DCEVM support
This commit is contained in:
parent
469178eadc
commit
9952877bca
2 changed files with 4 additions and 0 deletions
|
@ -58,12 +58,14 @@ loom {
|
||||||
configName = "Fabric Client"
|
configName = "Fabric Client"
|
||||||
ideConfigGenerated(true)
|
ideConfigGenerated(true)
|
||||||
runDir("run")
|
runDir("run")
|
||||||
|
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
|
||||||
}
|
}
|
||||||
named("server") {
|
named("server") {
|
||||||
server()
|
server()
|
||||||
configName = "Fabric Server"
|
configName = "Fabric Server"
|
||||||
ideConfigGenerated(true)
|
ideConfigGenerated(true)
|
||||||
runDir("run")
|
runDir("run")
|
||||||
|
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ minecraft {
|
||||||
taskName("Client")
|
taskName("Client")
|
||||||
property("mixin.env.remapRefMap", "true")
|
property("mixin.env.remapRefMap", "true")
|
||||||
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
|
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
|
||||||
|
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
|
||||||
mods {
|
mods {
|
||||||
create(modId) {
|
create(modId) {
|
||||||
source(sourceSets.main.get())
|
source(sourceSets.main.get())
|
||||||
|
@ -47,6 +48,7 @@ minecraft {
|
||||||
taskName("Server")
|
taskName("Server")
|
||||||
property("mixin.env.remapRefMap", "true")
|
property("mixin.env.remapRefMap", "true")
|
||||||
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
|
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
|
||||||
|
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions")
|
||||||
mods {
|
mods {
|
||||||
create(modId) {
|
create(modId) {
|
||||||
source(sourceSets.main.get())
|
source(sourceSets.main.get())
|
||||||
|
|
Loading…
Reference in a new issue