Add a note about the use of the guava
classpath entry
#150
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
env: | |
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"' | |
GRADLE_SWITCHES: '--console=plain --info --stacktrace' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: gradle/actions/wrapper-validation@v3 | |
- name: set-up-jdk | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: build | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: ${{ env.GRADLE_SWITCHES }} build test | |
- name: verify | |
run: mvn --show-version --no-transfer-progress --update-snapshots --fail-at-end --batch-mode -Dstyle.color=always verify | |
publish-snapshots: | |
needs: [build] | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: set-up-jdk | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: publish-snapshots | |
uses: gradle/actions/setup-gradle@v3 | |
if: github.event_name == 'push' | |
timeout-minutes: 30 | |
with: | |
arguments: ${{ env.GRADLE_SWITCHES }} snapshot |