-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Hi π,
I am encountering a number of build failures when using Gradle on ARM64 Windows, all of the issues I have come across so far happen when Gradle tries to read the windows registry through the native-platform library. Gradle most commonly does this when finding existing Java installations or locating the Visual Studio install path when building native code.
Some of my projects that do not use these features work as expected.
Expected Behavior
All Gradle functionality should run natively on ARM64 Windows.
Current Behavior
The Gradle native-platform library is not build for and does not support ARM64 windows, causing crashes when some commonly used features are used. An example of such crash can be seen in this gist. Attemping to build the native-platform library on ARM64 windows encounters similar issues.
Context
I believe ARM64 Windows in an up and coming platform that Gradle should support. Microsoft has recently been improving its ARM64 developer experience by proving native ARM64 versions of their developer tools (Visual Studiom Visual Studio Code) alongside their distribution of Java.
I have been using a Parallels virtual machine on my M1 Max MBP as a very capable windows ARM64 developer machine. Microsoft also have "Project Volterra" that aims to provide an ARM64 device for developers.
Tested with:
Gradle 7.5.1
Windows 11 ARM64 (In Parallels VM)