Skip to content

Commit

Permalink
chore: java version downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
y9vad9 committed Aug 1, 2023
1 parent 184c393 commit ede0c53
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-dev-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '19'
java-version: '17'
distribution: 'corretto'

- name: Cache Gradle dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '19'
java-version: '17'
distribution: 'corretto'

- name: Cache Gradle dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '19'
java-version: '17'
cache: 'gradle'
- run: ./gradlew test --no-daemon
6 changes: 3 additions & 3 deletions grpc-engine/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
}

compileOptions {
targetCompatibility = JavaVersion.VERSION_19
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}

namespace = "io.timemates.android.grpc"
Expand All @@ -26,7 +26,7 @@ dependencies {
}

kotlin {
jvmToolchain(19)
jvmToolchain(17)
}

deployLibrary {
Expand Down
1 change: 1 addition & 0 deletions grpc-engine/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies {

kotlin {
explicitApi()
jvmToolchain(17)
}

protobuf {
Expand Down
1 change: 1 addition & 0 deletions sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {

kotlin {
jvm()
jvmToolchain(17)

explicitApi()
}
Expand Down

0 comments on commit ede0c53

Please sign in to comment.