Skip to content

Commit

Permalink
chore: Upgrade java version (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Distractic authored Aug 13, 2023
1 parent 2104df6 commit 7b6388d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Initialization
uses: ./.github/actions/init
with:
jdk: 8
jdk: 17

- name: Build
uses: gradle/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Initialization
uses: ./.github/actions/init
with:
jdk: 8
jdk: 17

- name: Build
uses: gradle/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ plugins {
jacoco
}

val javaVersion get() = JavaVersion.VERSION_1_8
val javaVersion get() = JavaVersion.VERSION_17
val javaVersionString get() = javaVersion.toString()
val javaVersionInt get() = 8
val javaVersionInt get() = javaVersionString.toInt()

detekt {
// Allows having different behavior for CI.
Expand Down

0 comments on commit 7b6388d

Please sign in to comment.