diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fd6e2c..96f796d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '22' distribution: 'temurin' # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. @@ -40,10 +40,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 22 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '22' distribution: 'temurin' # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies. diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index fc221ec..9a202bd 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '22' distribution: 'temurin' # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. diff --git a/.github/workflows/helm-publish.yaml b/.github/workflows/helm-publish.yaml index 40cc720..df44fcc 100644 --- a/.github/workflows/helm-publish.yaml +++ b/.github/workflows/helm-publish.yaml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '22' distribution: 'temurin' # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. diff --git a/build.gradle b/build.gradle index c625f5c..521a377 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.3.0' + id 'org.springframework.boot' version '3.3.1' id 'io.spring.dependency-management' version '1.1.5' id 'org.graalvm.buildtools.native' version '0.10.2' } @@ -9,7 +9,9 @@ group = 'com.github.ansarhun' version = '0.0.1-SNAPSHOT' java { - sourceCompatibility = '21' + toolchain { + languageVersion = JavaLanguageVersion.of(22) + } } configurations { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 89454d7..a850da2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -16,7 +16,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME