Browse Source

无jira任务 chore: 代码工程适配apple silicon架构

new-design
vito 1 year ago
parent
commit
40dd1d8e9c
  1. 8
      build.gradle

8
build.gradle

@ -94,7 +94,13 @@ allprojects {
testImplementation 'junit:junit:4.12'
}
if (OperatingSystem.current().isMacOsX()) {
// mac_x64, mac_aarch64, windows_x64
if (OperatingSystem.current().isMacOsX() && "aarch64".equals(System.getProperty("os.arch"))) {
dependencies {
// jxbrowser 6.23M16.23jar还是需要留着
implementation "com.fr.third:jxbrowser-mac-arm-v7:${jxBrowserVersion}"
}
} else if (OperatingSystem.current().isMacOsX()) {
dependencies {
implementation 'com.fr.third:jxbrowser-mac:6.23'
implementation "com.fr.third:jxbrowser-mac-v7:${jxBrowserVersion}"

Loading…
Cancel
Save