From ce8403c14343bea99dc2b2025283f0397af344cd Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 00:47:07 +0000 Subject: [PATCH] chore: update Java version from 11 to 17 in build config, CI, and docs Phase 1 & 2 of Java 17 migration: - Update sourceCompatibility and targetCompatibility to 17 in build.gradle - Update CI pipeline to use JDK 17 (Zulu distribution) - Update README.md to reflect Java 17 requirement Note: Dependencies have not been upgraded yet (Phase 3). The build may not pass until dependencies are updated. Co-Authored-By: Vedant Khanna --- .github/workflows/gradle.yml | 4 ++-- README.md | 2 +- build.gradle | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 38bce4bbb..1dbc33528 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -17,11 +17,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: zulu - java-version: '11' + java-version: '17' - uses: actions/cache@v4 with: path: | diff --git a/README.md b/README.md index c747c5757..16f3c29bb 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ It uses a ~~H2 in-memory database~~ sqlite database (for easy local test without # Getting started -You'll need Java 11 installed. +You'll need Java 17 installed. ./gradlew bootRun diff --git a/build.gradle b/build.gradle index da384dc69..e14f666c1 100644 --- a/build.gradle +++ b/build.gradle @@ -7,8 +7,8 @@ plugins { } version = '0.0.1-SNAPSHOT' -sourceCompatibility = '11' -targetCompatibility = '11' +sourceCompatibility = '17' +targetCompatibility = '17' spotless { java {