Skip to content

Commit fb3984e

Browse files
authored
Add support for Apple silicon (#280)
1 parent 2fd60df commit fb3984e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ task (updateHoverflyBinaries) {
183183
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_linux_386.zip",
184184
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_linux_amd64.zip",
185185
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_OSX_amd64.zip",
186+
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_OSX_arm64.zip",
186187
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_windows_386.zip",
187188
"$downloadUrl/$hoverfly_binary_version/hoverfly_bundle_windows_amd64.zip"
188189
])

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version=0.14.4-SNAPSHOT
22
title=Hoverfly Java
33
description=Hoverfly for Java. Capture and simulate HTTP(S) services in JUnit tests.
4-
hoverfly_binary_version=v1.3.6
4+
hoverfly_binary_version=v1.3.7

src/main/java/io/specto/hoverfly/junit/core/SystemConfigFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SystemConfig createSystemConfig() {
3636
}
3737

3838
if (systemInfo.is64BitSystem()) {
39-
if (systemInfo.isOsLinux() && systemInfo.isArmArchitecture()) {
39+
if (systemInfo.isArmArchitecture()) {
4040
archType = ArchType.ARCH_ARM64;
4141
} else {
4242
archType = ArchType.ARCH_AMD64;

0 commit comments

Comments
 (0)