android: compileSdk 37 on ci-android:37; current AndroidX, Compose, Coil, OkHttp 5; ktlint-gradle 14 (#8533)
release / go (push) Successful in 1m50s
release / web (push) Successful in 1m16s
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
release / go (push) Successful in 1m50s
release / web (push) Successful in 1m16s
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>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# ktlint reads this. The code style is ktlint's default (ktlint_official);
|
||||
# the one exception is Compose's convention of naming @Composable functions
|
||||
# like types (PlayerScreen, not playerScreen).
|
||||
root = true
|
||||
|
||||
[*.{kt,kts}]
|
||||
ktlint_function_naming_ignore_when_annotated_with = Composable
|
||||
Reference in New Issue
Block a user