summaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-02 10:24:23 +0100
committerDanilo M. <danix@danix.xyz>2026-11-02 10:24:23 +0100
commitd4d155d98418bfc6780fc03f8dddabf363144a8f (patch)
treeb807c81afc9448718b35580a789275998e2a2ffa /AGENTS.md
parent55f24b771fc2fb2be70f2d3a79c68cede28897fe (diff)
downloadHardenedPass-d4d155d98418bfc6780fc03f8dddabf363144a8f.tar.gz
HardenedPass-d4d155d98418bfc6780fc03f8dddabf363144a8f.zip
build: limit Bouncy Castle alignment to -jdk18on modules
The resolution rule also rewrote the legacy -jdk15on artifacts that metalava's tooling depends on to 1.86, a version that line never had (it ended at 1.70), so metalavaCheckCompatibilityRelease failed to resolve in CI. Only align the -jdk18on modules the app ships. Add the metalava check to the pre-commit command in AGENTS.md so local runs cover the same tasks as CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index a94a484d..3fa60b0c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -38,7 +38,8 @@ Needs JDK 17 and the Android SDK. `local.properties` (gitignored) holds `sdk.dir
Prefix with `CI=1` to match CI: it turns Kotlin warnings into errors, so a deprecation warning
that passes locally fails CI. Before committing, run:
- CI=1 ./gradlew spotlessCheck test -PslimTests assembleFreeDebug assembleFreeRelease lintFreeRelease
+ CI=1 ./gradlew spotlessCheck test -PslimTests assembleFreeDebug assembleFreeRelease \
+ lintFreeRelease metalavaCheckCompatibilityRelease
Flavors: `free` (no proprietary dependencies, Sentry replaced by `sentry-stub`) and `nonFree`
(adds Sentry and Play Services SMS OTP).