Skip to content

Commit d2a7669

Browse files
committed
Export mixins by default
1 parent fd81423 commit d2a7669

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

fabric/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,16 @@ loom {
3333
accessWidenerPath.set(aw)
3434
}
3535
runs {
36+
configureEach {
37+
vmArg("-Dmixin.debug.export=true")
38+
}
39+
3640
client {
3741
client()
3842
setConfigName('Fabric Client')
3943
ideConfigGenerated(true)
4044
runDir('runs/client')
45+
4146
}
4247
server {
4348
server()

neoforge/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ neoForge {
1717
}
1818
runs {
1919
configureEach {
20-
systemProperty('neoforge.enabledGameTestNamespaces', mod_id)
20+
systemProperty("neoforge.enabledGameTestNamespaces", mod_id.toString())
21+
systemProperty("mixin.debug.export", "true")
2122
ideName = "NeoForge ${it.name.capitalize()} (${project.path})" // Unify the run config names with fabric
2223
}
2324
client {
@@ -28,7 +29,7 @@ neoForge {
2829
}
2930
gameTest {
3031
type = "gameTestServer"
31-
gameDirectory = project.file('build/gametest')
32+
gameDirectory = project.file("build/gametest")
3233
}
3334
}
3435
mods {

0 commit comments

Comments
 (0)