Skip to content

Commit

Permalink
Don't do CI builds for obsolete JDKs (#1185)
Browse files Browse the repository at this point in the history
This is motivated by an accute problem with OpenJDK 10, which
is consistently failing in CI for reasons wholy unrelated to
Okio.

    > Configure project :android-test
    Unable to detect AGP versions for included builds. All projects in the build should use the same AGP version. Class name for the included build object: org.gradle.composite.internal.DefaultIncludedBuild$IncludedBuildImpl_Decorated.
    e: /home/runner/work/okio/okio/android-test/build.gradle.kts:18:1: Unresolved reference: android

It's likely Gradle or AGP or something doesn't work on Java 10,
even though it does work on Java 8, Java 9, Java 11, and Java 12.

I'm not interested in debugging this problem; the right fix for
it is 'Upgrade to a newer JDK'.

I've specifically dropped unmaintained JDKs according to this page:
https://en.wikipedia.org/wiki/Java_version_history
  • Loading branch information
swankjesse committed Jan 3, 2023
1 parent fd7e894 commit 8e559fd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Expand Up @@ -14,14 +14,8 @@ jobs:
matrix:
java-version:
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 18
- 17
- 19

steps:
Expand Down

0 comments on commit 8e559fd

Please sign in to comment.