Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support minimum JDK of 11+ and minimum of Android API 33+ #47

Closed
jmehrens opened this issue Feb 15, 2024 · 0 comments · Fixed by #48
Closed

Support minimum JDK of 11+ and minimum of Android API 33+ #47

jmehrens opened this issue Feb 15, 2024 · 0 comments · Fixed by #48
Labels
enhancement New feature or request

Comments

@jmehrens
Copy link

Per Jakarta EE Platform 10:

Minimum Java SE Version
Java SE 11 or higher

This means that Angus Activation would no longer be building for JDK 8. Moving an Android API version 26+ or greater will give access to java.lang.invoke, java.util.Base64, and java.time. However, all versions prior to Android 13 (API level 33) will be deprecated so we must assume API level 33 Android is required. API 26+ may be able to run with Angus Activation but, is not supported and we will close any tickets that are not meeting the API requirements.

Per Meet Google Play's target API level requirement:

Starting on August 31, 2023:

New apps must target Android 13 (API level 33) or higher; except for Wear OS apps, which must target a version between Android 11 (API level 30) and Android 13 (API level 33), inclusive.

App updates must target Android 13 or higher and adjust for behavioral changes in Android 13; except for Wear OS apps, which must target Android 11.

Permanently private apps—which are restricted to users in a specific organization and are intended for internal distribution only—aren't required to meet the target API level requirements.

[snip]

...Furthermore, as of Android 10 (API level 29), users see a warning when they start an app for the first time if the app targets Android 5.1 (API level 22) or lower.

Per Which Java APIs can I use in my Java or Kotlin source code? the API level 32 and API level 33 are versions that support Java 11 source syntax. API level 34 supports Java 17 source syntax.

The Android API Levels site shows the usage of devices.

/cc @lukasj

@jmehrens jmehrens added the enhancement New feature or request label Feb 15, 2024
lukasj added a commit to lukasj/angus-activation that referenced this issue Mar 3, 2024
@lukasj lukasj closed this as completed in #48 Mar 3, 2024
lukasj added a commit that referenced this issue Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant