Skip to content

Commit

Permalink
Use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikSOffice committed Aug 12, 2023
1 parent 1481763 commit 9381c7e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Configure JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Assemble and test
run: ./gradlew build --stacktrace
Expand All @@ -51,10 +51,10 @@ jobs:
- name: Configure JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Run all device checks
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedCheck --stacktrace
script: ./gradlew connectedCheck --stacktrace
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Configure JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Run all checks
run: ./gradlew check --stacktrace
run: ./gradlew check --stacktrace
6 changes: 3 additions & 3 deletions common-android.gradle
Expand Up @@ -27,11 +27,11 @@ apply plugin: "maven-publish"
android {
compileSdkVersion rootProject.ext.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11
jvmTarget = JavaVersion.VERSION_17
}

defaultConfig {
Expand Down

0 comments on commit 9381c7e

Please sign in to comment.