Browse Source

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

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

* commit 'd9889863478fb5c6bc5e7d9594009278773ede18':
  无jira任务 代码工程适配apple silicon架构
newui
vito-刘恒霖 2 years ago
parent
commit
fcaf75f2af
  1. 7
      build.gradle

7
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'

Loading…
Cancel
Save