Closed Trikzon closed 3 months ago
Hello! That seems related to https://github.com/neoforged/ModDevGradle/blob/6f7115b883d3437c0488577a1aeeb523755ad800/src/main/java/net/neoforged/moddevgradle/internal/OperatingSystemDisambiguation.java#L18.
Can you confirm that os.name
java property starts with Mac OS X
? (see the linked code)
Independently of that, it looks like the os name should be osx
rather than macosx
in MDG.
println System.getProperty("os.name")
prints Mac OS X
This should be fixed in MDG 0.1.100
. :)
That fixed it! Thank you :D
Using the 1.21-mdg NeoForge MDK as a minimal example, I get the following error when building gradle on a 2020 M1 Macbook Air.
The full error log with
--stacktrace
can be found at https://gist.github.com/Trikzon/5514b2811acbbc97beca16bf11a8f460.This only occurs on my Macbook. The MDK does not fail on my Windows machine.