From d9889863478fb5c6bc5e7d9594009278773ede18 Mon Sep 17 00:00:00 2001 From: vito Date: Mon, 3 Jul 2023 15:01:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=B7=A5=E7=A8=8B=E9=80=82=E9=85=8Dapple=20silicon?= =?UTF-8?q?=E6=9E=B6=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f9c687731c..8709e037b7 100644 --- a/build.gradle +++ b/build.gradle @@ -93,12 +93,17 @@ allprojects { testImplementation 'org.powermock:powermock-api-mockito2:1.7.4' testImplementation 'junit:junit:4.12' } - + // 目前开发工程适配 mac_x64, mac_aarch64, windows_x64 if (OperatingSystem.current().isMacOsX()) { dependencies { implementation 'com.fr.third:jxbrowser-mac:6.23' implementation "com.fr.third:jxbrowser-mac-v7:${jxBrowserVersion}" } + } else if (OperatingSystem.current().isMacOsX() && "aarch64".equals(System.getProperty("os.arch"))) { + dependencies { + implementation 'com.fr.third:jxbrowser-mac:6.23' + implementation "com.fr.third:jxbrowser-mac-arm-v7:${jxBrowserVersion}" + } } else if (OperatingSystem.current().isWindows()) { dependencies { implementation 'com.fr.third:jxbrowser-win64:6.23'