Skip to content

Commit

Permalink
build: downgrade to JDK version 11
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed May 7, 2023
1 parent 7bb2572 commit bbd27eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'zulu'
cache: gradle
- name: Setup Node.js
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ dependencies {
implementation("com.google.code.gson:gson:2.10.1")
}

kotlin {
jvmToolchain(11)
}

tasks {
register<DefaultTask>("generateBundle") {
description = "Generate dex files from build and bundle them in the jar file"
Expand Down

2 comments on commit bbd27eb

@hoang-himself
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello. I know this is an old commit but why downgrade?

@oSumAtrIX
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The target version of Android was 11

Please sign in to comment.