mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 05:50:53 +03:00
Gradle:
- default is now Java 8 toolchain (to fix Eclipse project import) - `src/main/module-info` and `src/main/java9` are compiled with Java 11 toolchain (if global toolchain is Java 8) - `src/main/module-info` and `src/main/java9` are no longer imported into Eclipse projects - task `errorprone` now uses at least Java 11 toolchain
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -40,9 +40,9 @@ jobs:
|
||||
# - Java LTS versions (11, 17, ...)
|
||||
# - latest Java version(s)
|
||||
|
||||
- name: Build with Java 8
|
||||
- name: Build with Java 11 LTS
|
||||
if: github.repository == 'JFormDesigner/FlatLaf'
|
||||
run: ./gradlew build clean -Dtoolchain=8
|
||||
run: ./gradlew build clean -Dtoolchain=11
|
||||
|
||||
- name: Build with Java 17 LTS
|
||||
if: github.repository == 'JFormDesigner/FlatLaf'
|
||||
@@ -57,9 +57,9 @@ jobs:
|
||||
run: ./gradlew build clean -Dtoolchain=25
|
||||
|
||||
|
||||
# build with Java 11 for snapshot
|
||||
# build with Java 8 for snapshot
|
||||
|
||||
- name: Build with Java 11 LTS
|
||||
- name: Build with Java 8
|
||||
run: ./gradlew build
|
||||
|
||||
- name: Upload artifacts to GitHub Actions
|
||||
|
||||
2
.github/workflows/error-prone.yml
vendored
2
.github/workflows/error-prone.yml
vendored
@@ -34,4 +34,4 @@ jobs:
|
||||
cache: gradle
|
||||
|
||||
- name: Check with Error Prone
|
||||
run: ./gradlew errorprone clean
|
||||
run: ./gradlew errorprone
|
||||
|
||||
Reference in New Issue
Block a user