Skip to content

Commit

Permalink
build: bump Java from 11 to 17
Browse files Browse the repository at this point in the history
We want to migrate the lib to KMP. Exposed is currently used for database implementation and is not supported in KMP, it's JVM only. A very solid choice for a SQLite database implementation with KMP support is SqlDelight. SqlDelight requires JDK 17 to be able to run the SqlDelight plugin and compiler, hence this change.
  • Loading branch information
kirillzh authored and thunderbiscuit committed Jun 27, 2024
1 parent 8b229e2 commit 73ea1b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
java-version: 17

- name: "Run tests"
run: ./gradlew test --console=plain
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tasks.withType<Test> {
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
languageVersion.set(JavaLanguageVersion.of(17))
}
}

Expand Down

0 comments on commit 73ea1b0

Please sign in to comment.