downgrade gson to v2.10.1 because of annotations crap #134
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: Java CI MacOS Gradle | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ macos-12, macos-13, macos-14 ] | |
distribution: [ 'adopt-hotspot', 'adopt-openj9' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8, x64 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: '8.0.422' | |
java-package: jdk | |
architecture: x64 | |
cache: 'gradle' | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: 4.10.3 | |
- name: Run gradle and ant builds | |
run: | | |
java -version | |
gradle -version | |
gradle build --no-daemon | |
ant -noinput -buildfile build.xml -Drepository="/.gradle/caches/modules-2/files-2.1" -Dgson_path="/com.google.code.gson/gson/2.10.1/b3add478d4382b78ea20b1671390a858002feb6c" clean all build-jar |