Commit Graph
2 Commits
Author SHA1 Message Date
bvandeusenandClaude Opus 5.5 dc9edb4fc4 android: compileSdk 37.1 for Compose 1.13; ktlint wraps at detekt's 120 (#8533)
release / web (push) Successful in 1m29s
release / govulncheck (push) Successful in 19s
release / Build signed APK (push) Failing after 2m26s
release / Build + push container image (push) Skipped
release / go (push) Successful in 1m47s
release / integration (push) Successful in 2m41s
release / android (push) Failing after 2m19s
Run 11504 failed in two places:
- checkReleaseAarMetadata: Compose 1.13 requires compiling against
  Android 37.1, and compileSdk 37 resolves to 37.0. It is now
  release(37) { minorApiLevel = 1 }.
- detekt:
  - 25 MaxLineLength findings, because ktlint_official wraps at 140 and
    detekt allows 120. .editorconfig now sets max_line_length = 120, so
    the two checks agree, and the sources are reformatted to it.
  - The reformat's extra line breaks pushed MinstrelForwardingPlayer past
    LargeClass. Its file-level suppression already explains that the
    class mirrors the Media3 Player surface, and it now covers size too.
  - The extra line breaks also pushed MiniRow past LongMethod. Its cover
    and title moved into MiniTrackInfo.

ktlint 1.5 and detekt 2.0.0-alpha.6 both pass locally on these sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 15:00:38 -05:00
bvandeusenandClaude Opus 5.5 924b4537c3 android: compileSdk 37 on ci-android:37; current AndroidX, Compose, Coil, OkHttp 5; ktlint-gradle 14 (#8533)
release / web (push) Successful in 1m16s
release / go (push) Successful in 1m50s
release / govulncheck (push) Successful in 17s
release / android (push) Failing after 1m5s
release / integration (push) Successful in 2m36s
release / Build signed APK (push) Failing after 1m13s
release / Build + push container image (push) Skipped
ci-android:37 (CI-runner PR #17) carries Android SDK 37. That lets the app
compile against 37 and take the libraries that require it:
- compose-bom 2026.11.01
- androidx.hilt 1.4.0
- navigation 2.10.2
- lifecycle 2.11.1
- core-ktx 1.19.1
- mediarouter 1.9.0
- coil 3.6.3
- OkHttp 5.5.1

targetSdk stays 36, so runtime behaviour on phones is unchanged.

ktlint-gradle 14.2 runs ktlint 1.5, which turns on rules that 1.0 left
experimental, so the sources are reformatted to them. Ignoring whitespace
that is about 4.7k lines across 312 files, and none of it changes
behaviour.

android/.editorconfig keeps ktlint's default style but exempts
@Composable functions from the lowercase function-naming rule, which
Compose's own convention breaks.

A few spots ktlint 1.5 cannot fix by itself were rewritten:
- EOL comments moved above the KDoc they followed;
- DeliveryPlan's file-level doc became plain comments;
- three /* name = */ argument labels on Java calls became trailing
  comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 14:53:14 -05:00