mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-25 07:27:18 +01:00
Gradle: Enforce same JDK everywhere
This commit is contained in:
parent
5bbc941c2c
commit
7a03bd24bd
2 changed files with 8 additions and 3 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
java: [ '11', '11.0.3', '15', '15.0.5']
|
java: ['11']
|
||||||
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
|
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.0.0
|
- uses: actions/checkout@v4.0.0
|
||||||
|
|
|
@ -8,8 +8,13 @@ repositories {
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
java {
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
toolchain {
|
||||||
|
languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
vendor = JvmVendorSpec.AZUL
|
||||||
|
implementation = JvmImplementation.VENDOR_SPECIFIC
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
|
|
Loading…
Add table
Reference in a new issue