Skip to content

Commit

Permalink
chore: #305 JDK17 버전 업그레이드
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql committed Nov 2, 2023
1 parent 07843e9 commit dc41a77
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 22 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/CD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:

steps:
#jdk 세팅
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
java-version: 17
distribution: 'zulu'

#gradle 캐싱
- name: Gradle Caching
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:

steps:
#jdk 세팅
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
java-version: 17
distribution: 'zulu'

#gradle 캐싱
- name: Gradle Caching
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/CI-Sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin' # Alternative distribution options are available
java-version: 17
distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:

steps:
#jdk 세팅
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
java-version: 17
distribution: 'zulu'

#gradle 캐싱
- name: Gradle Caching
Expand Down
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.kapt3.base.Kapt.kapt

plugins {
id("org.springframework.boot") version "2.7.8"
Expand Down Expand Up @@ -30,7 +29,7 @@ sonarqube {

group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_11
java.sourceCompatibility = JavaVersion.VERSION_17

repositories {
mavenCentral()
Expand Down Expand Up @@ -87,7 +86,7 @@ dependencies {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "11"
jvmTarget = "17"
}
}

Expand Down

0 comments on commit dc41a77

Please sign in to comment.