Skip to content

build: Lower JDK to 17 and minSdk to 21#4369

Merged
jamesarich merged 3 commits into
mainfrom
chore/jdk17
Jan 30, 2026
Merged

build: Lower JDK to 17 and minSdk to 21#4369
jamesarich merged 3 commits into
mainfrom
chore/jdk17

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit reverts the project's Java Development Kit (JDK) requirement from version 21 back to 17. This change improves build compatibility for developers and consumers of the project's libraries who may be using older development environments.

The minimum Android API level (minSdk) for the core:api, core:model, and core:proto modules has also been lowered to 21. This increases compatibility with consumer applications like ATAK and other plugins.

Key changes include:

  • Updating GitHub Actions workflows (reusable-android-build.yml, reusable-lint.yml) to use JDK 17.
  • Modifying Gradle build logic (build-logic/) and toolchain configurations to target JDK 17.
  • Adjusting the jitpack.yml configuration to use openjdk17.
  • Lowering minSdk to 21 in core library modules.
  • Updating developer documentation (copilot-instructions.md) to reflect the new JDK 17 requirement.

This commit reverts the project's Java Development Kit (JDK) requirement from version 21 back to 17. This change improves build compatibility for developers and consumers of the project's libraries who may be using older development environments.

The minimum Android API level (minSdk) for the `core:api`, `core:model`, and `core:proto` modules has also been lowered to 21. This increases compatibility with consumer applications like ATAK and other plugins.

Key changes include:
- Updating GitHub Actions workflows (`reusable-android-build.yml`, `reusable-lint.yml`) to use JDK 17.
- Modifying Gradle build logic (`build-logic/`) and toolchain configurations to target JDK 17.
- Adjusting the `jitpack.yml` configuration to use `openjdk17`.
- Lowering `minSdk` to 21 in core library modules.
- Updating developer documentation (`copilot-instructions.md`) to reflect the new JDK 17 requirement.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich enabled auto-merge January 30, 2026 00:58
@codecov

codecov Bot commented Jan 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (f9cc708) to head (4b85d13).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4369   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         28      28           
  Branches       8       8           
=====================================
  Misses        28      28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Jan 30, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Jan 30, 2026
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich removed this pull request from the merge queue due to a manual request Jan 30, 2026
Secrets are now passed down to reusable workflows using `secrets: inherit` instead of being explicitly listed. This simplifies the `pull-request.yml` and `merge-queue.yml` files.

Additionally, the `reusable-lint.yml` workflow has been updated to accept a `GRADLE_CACHE_URL` secret to configure the Gradle cache.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich merged commit 039e785 into main Jan 30, 2026
9 checks passed
@jamesarich jamesarich deleted the chore/jdk17 branch January 30, 2026 02:04
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