Skip to content

Commit

Permalink
using java 17 in project and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mutukuian committed May 12, 2024
1 parent 1a937b4 commit 75df2e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/KocelaBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:

- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'

- name: Build with Gradle
run: ./gradlew build
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
buildFeatures {
compose = true
Expand Down

0 comments on commit 75df2e8

Please sign in to comment.