Skip to content

Commit

Permalink
chore(cd): try to downgrade Java 17 -> 11
Browse files Browse the repository at this point in the history
  • Loading branch information
bas-kirill committed Jul 21, 2024
1 parent ed2095c commit c3af7ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
linter:
runs-on: ubuntu-22.04
steps:
- name: Set up JDK 17 (Temurin)
- name: Set up JDK 11 (Temurin)
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0'
java-version: '11.0'

- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -27,11 +27,11 @@ jobs:
static-analyzer:
runs-on: ubuntu-22.04
steps:
- name: Set up JDK 17 (Temurin)
- name: Set up JDK 11 (Temurin)
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0'
java-version: '11.0'

- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -49,11 +49,11 @@ jobs:
pull-requests: write

steps:
- name: Set up JDK 17 (Temurin)
- name: Set up JDK 11 (Temurin)
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17.0'
java-version: '11.0'

- name: Checkout Code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions server/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ val rootProjectDir = "$projectDir/../.."

plugins {
java
id("org.springframework.boot") version "3.0.6"
id("org.springframework.boot") version "3.2.5"
id("io.spring.dependency-management") version "1.1.4"
kotlin("jvm") version "1.9.23"
kotlin("plugin.spring") version "1.9.23" // make all classes as `open` for Spring proxies
Expand All @@ -16,9 +16,9 @@ group = "mu.muse"
version = "0.0.1-SNAPSHOT"

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
toolchain.languageVersion = JavaLanguageVersion.of(17)
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
toolchain.languageVersion = JavaLanguageVersion.of(11)
}

kotlin {
Expand Down

0 comments on commit c3af7ac

Please sign in to comment.