build: downgrade to JDK version 11

This is to properly support Android
This commit is contained in:
oSumAtrIX 2023-05-08 00:41:24 +02:00
parent 98f8eedecd
commit 9c53877888
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -45,6 +45,10 @@ java {
withSourcesJar()
}
kotlin {
jvmToolchain(11)
}
publishing {
repositories {
if (System.getenv("GITHUB_ACTOR") != null)