From 1514defaf7d614bfde6678e1838bdabe3366540b Mon Sep 17 00:00:00 2001 From: Matt Busche Date: Sat, 15 Jun 2024 15:10:35 -0500 Subject: [PATCH] update to Java 22 (#409) --- .github/workflows/daily-standings.yml | 2 +- .github/workflows/gradle.yml | 4 ++-- README.md | 8 ++++---- build.gradle.kts | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/daily-standings.yml b/.github/workflows/daily-standings.yml index bd9cffd..bcd19d3 100644 --- a/.github/workflows/daily-standings.yml +++ b/.github/workflows/daily-standings.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ 21 ] + java-version: [ 22 ] os: [ ubuntu-latest ] steps: diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index fbbdcbc..c0ebe91 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,8 +9,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ 21 ] - os: [ubuntu-latest, macos-latest, windows-latest] + java-version: [ 22 ] + os: [ ubuntu-latest, macos-latest, windows-latest ] steps: - name: Check out code diff --git a/README.md b/README.md index 18d8092..805d653 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,18 @@ ## Generating standings on demand - Download jar file from the [latest release](https://github.com/mrbusche/trap-scoring/releases) -- You will need [Java 21](https://adoptium.net/) to run the jar file +- You will need [Java 22](https://adoptium.net/) to run the jar file - Open command prompt to directory with downloaded jar file -- Run `java -jar trap-6.1.1.jar` (make sure you have the correct filename from the release) +- Run `java -jar trap-6.2.0.jar` (make sure you have the correct filename from the release) - There will be output as the process generates the file - When finished there will be a file named `leaguedata-${date-string}` generated in the directory you ran the command from ## Downloading a daily generated report -Every day at 6 AM UTC the report is [generated and uploaded](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml). +Every day at 6 AM UTC the report is [generated and uploaded](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml). 1. Login to GitHub -2. Click on the top [Daily Standings](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml) link +2. Click on the top [Daily Standings](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml) link 3. Download `trap-league-standings` 4. Extract the zip file 5. Report will be named `league-data-${todays-date}.xlsx` diff --git a/build.gradle.kts b/build.gradle.kts index 78444a4..d357d52 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,10 +5,10 @@ plugins { } group = "com.trap-scoring" -version = "6.1.1" +version = "6.2.0" -java.sourceCompatibility = JavaVersion.VERSION_21 -java.targetCompatibility = JavaVersion.VERSION_21 +java.sourceCompatibility = JavaVersion.VERSION_22 +java.targetCompatibility = JavaVersion.VERSION_22 repositories { mavenCentral()