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>
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>