diff --git a/lib/src/main/java/com/diffplug/spotless/rome/Architecture.java b/lib/src/main/java/com/diffplug/spotless/rome/Architecture.java index 64e0a94640..9ceaeb8632 100644 --- a/lib/src/main/java/com/diffplug/spotless/rome/Architecture.java +++ b/lib/src/main/java/com/diffplug/spotless/rome/Architecture.java @@ -43,9 +43,6 @@ public static Architecture guess() { if (arch.equals("ppc64le")) { throw new IllegalStateException(msg); } - if (arch.equals("aarch64")) { - throw new IllegalStateException(msg); - } if (arch.equals("s390x")) { throw new IllegalStateException(msg); } @@ -55,6 +52,9 @@ public static Architecture guess() { if (arch.equals("ppc")) { throw new IllegalStateException(msg); } + if (arch.equals("aarch64")) { + return ARM64; + } if (arch.equals("arm")) { if (version.contains("v7")) { throw new IllegalStateException(msg);