Skip to content

Target Java 11 compatible bytecode and API level - #124

Open
KarolyNevelos wants to merge 1 commit into
android:mainfrom
KarolyNevelos:KarolyNevelos-patch-1
Open

KarolyNevelos wants to merge 1 commit into
android:mainfrom
KarolyNevelos:KarolyNevelos-patch-1

Conversation

@KarolyNevelos

Copy link
Copy Markdown

As mentioned in this comment, we would like to use this library from a Java application running on an older Java version.

This change keeps the JDK21 toolchain for building, but compiles both Kotlin and Java sources to Java 11 bytecode, and restricts them to the Java 11 API.

If Java 8 support is also planned, the only Java 9+ API currently used is the Files.readString(path) in VerifierCliTest.kt... For our use case this it not needed, but please also consider this option.

@google-cla

google-cla Bot commented Sep 24, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant