android: compileSdk 37.1 for Compose 1.13; ktlint wraps at detekt's 120 (#8533)
release / go (push) Successful in 1m47s
release / web (push) Successful in 1m29s
release / integration (push) Successful in 2m41s
release / govulncheck (push) Successful in 19s
release / android (push) Failing after 2m19s
release / Build signed APK (push) Failing after 2m26s
release / Build + push container image (push) Skipped
release / go (push) Successful in 1m47s
release / web (push) Successful in 1m29s
release / integration (push) Successful in 2m41s
release / govulncheck (push) Successful in 19s
release / android (push) Failing after 2m19s
release / Build signed APK (push) Failing after 2m26s
release / Build + push container image (push) Skipped
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>
This commit is contained in:
@@ -15,7 +15,10 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "com.fabledsword.minstrel"
|
||||
compileSdk = 37
|
||||
// 37.1: Compose 1.13 requires compiling against Android 37.1 or later.
|
||||
compileSdk {
|
||||
version = release(37) { minorApiLevel = 1 }
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.fabledsword.minstrel"
|
||||
|
||||
Reference in New Issue
Block a user