mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
Fallback to Java 15 on macOS
This commit is contained in:
parent
7ae04bfc39
commit
294fcb3459
@ -1,3 +1,5 @@
|
||||
import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'jacoco'
|
||||
@ -11,7 +13,11 @@ repositories {
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(11)
|
||||
if (Os.isFamily(Os.FAMILY_MAC)) {
|
||||
languageVersion = JavaLanguageVersion.of(15)
|
||||
} else {
|
||||
languageVersion = JavaLanguageVersion.of(11)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user