Browse Source

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

Merge in DESIGN/design from ~VITO/c-design:final/11.0 to final/11.0

* commit '40dd1d8e9cc60fb1dd6a3351db502cd4160d829b':
  无jira任务 chore: 代码工程适配apple silicon架构
new-design
vito-刘恒霖 2 years ago
parent
commit
7373989c06
  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