Repository navigation
raise animalsniffer Android API minimum to 34 - #127
Merged
Merged
Conversation
API 34 (Android 14) is the first level whose core libraries cover the Java 17 API (java.lang.Record, String.stripIndent, Stream.toList), matching the Java 17 baseline. Also update the gummy-bears signature to 0.16.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #126 (Java 17 baseline).
androidSdkMinimum26 → 340.3.0→0.16.0API 34 (Android 14) is the first level whose core libraries cover the Java 17 API. Checked against the gummy-bears 0.16.0 signatures:
String.repeat/isBlank,InputStream.readAllBytes/transferTo)java.lang.Record,String.stripIndent,Stream.toList)With 26 the check would reject Java 9–17 APIs even though Java 17 is now required. 33 would still block records, and a record in a public API needs
java.lang.Recordat runtime.The
javax.xml.stream.*/javax.xml.namespace.*ignores stay, since Android still has no StAX../gradlew animalsnifferMain animalsnifferTestpasses locally.🤖 Generated with Claude Code