From bf19ce862cd182a2391cd5973d02c77380647f2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:06:33 +0000 Subject: [PATCH 1/2] Initial plan From d223e23f1a7335511e036097ff1ec17066b2257c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:13:51 +0000 Subject: [PATCH 2/2] Update project to use Java 21 LTS Co-authored-by: claymccoy <2743+claymccoy@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/codeql.yml | 4 ++-- .github/workflows/security.yml | 4 ++-- .github/workflows/static-analysis.yml | 4 ++-- build.gradle.kts | 6 +++--- gradle.properties | 3 +++ 6 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdad0ec..64e46ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - java-version: [22] + java-version: [21] steps: - name: Checkout code diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dc65ce6..d67e4de 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -46,10 +46,10 @@ # languages: ${{ matrix.language }} # queries: security-and-quality # -# - name: Set up JDK 22 +# - name: Set up JDK 21 # uses: actions/setup-java@v4 # with: -# java-version: 22 +# java-version: 21 # distribution: 'temurin' # # - name: Cache Gradle packages diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 39a39dd..e989d56 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -17,10 +17,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 22 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: 22 + java-version: 21 distribution: 'temurin' - name: Cache Gradle packages diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 8dc139c..c27756a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -14,10 +14,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up JDK 22 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: 22 + java-version: 21 distribution: 'temurin' - name: Cache Gradle packages diff --git a/build.gradle.kts b/build.gradle.kts index e481cf1..38a39c4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,12 +8,12 @@ group = "com.claymccoy" version = "1.0-SNAPSHOT" java { - sourceCompatibility = JavaVersion.VERSION_22 - targetCompatibility = JavaVersion.VERSION_22 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } kotlin { - jvmToolchain(22) + jvmToolchain(21) } repositories { diff --git a/gradle.properties b/gradle.properties index 4abbdbe..9429c0e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,3 +6,6 @@ org.gradle.caching=true # Kotlin compiler optimizations kotlin.code.style=official kotlin.incremental=true + +# Enable toolchain download +org.gradle.java.installations.auto-download=true