Skip to content

Commit

Permalink
downgrade to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Feb 6, 2024
1 parent cc254d2 commit 2ec91de
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,24 @@ concurrency:
# Limit concurrency to 1 for PRs. 'main' concurrency isn't limited.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
JAVA_VERSION: 11
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
api-level: [26, 31]
api-level: [24, 26, 31]
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: 17
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
timeout-minutes: 5
Expand Down
6 changes: 3 additions & 3 deletions kotlin-audio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = '17'
jvmTarget = '11'
}
}

Expand Down

0 comments on commit 2ec91de

Please sign in to comment.