Skip to content

Commit 7b6388d

Browse files
authored
chore: Upgrade java version (#3)
1 parent 2104df6 commit 7b6388d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/check-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Initialization
2222
uses: ./.github/actions/init
2323
with:
24-
jdk: 8
24+
jdk: 17
2525

2626
- name: Build
2727
uses: gradle/gradle-build-action@v2.7.0

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Initialization
2323
uses: ./.github/actions/init
2424
with:
25-
jdk: 8
25+
jdk: 17
2626

2727
- name: Build
2828
uses: gradle/gradle-build-action@v2.7.0

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ plugins {
1010
jacoco
1111
}
1212

13-
val javaVersion get() = JavaVersion.VERSION_1_8
13+
val javaVersion get() = JavaVersion.VERSION_17
1414
val javaVersionString get() = javaVersion.toString()
15-
val javaVersionInt get() = 8
15+
val javaVersionInt get() = javaVersionString.toInt()
1616

1717
detekt {
1818
// Allows having different behavior for CI.

0 commit comments

Comments
 (0)