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