Skip to content

Upgrade to gradle 8.5 and add java 21 build #217

Upgrade to gradle 8.5 and add java 21 build

Upgrade to gradle 8.5 and add java 21 build #217

Workflow file for this run

---
name: Java CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17, 18, 21 ]
fail-fast: false
max-parallel: 4
name: JDK ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --warning-mode all
- name: Run Tests
run: ./gradlew check
- name: Maven Install
run: ./gradlew clean publishToMavenLocal
...