feat(#915): upgrade to AGP 9.0.1, Gradle 9.1.0, Kotlin 2.3.21#1082
Open
lokhor wants to merge 5 commits into
Open
feat(#915): upgrade to AGP 9.0.1, Gradle 9.1.0, Kotlin 2.3.21#1082lokhor wants to merge 5 commits into
lokhor wants to merge 5 commits into
Conversation
…roller When Android TTS drops an onDone/onError callback (audio routing interference, engine glitch), completePlaybackIfDrained waits forever with non-empty utteranceIds and never emits SpeakingStopped, leaving the UI stuck on 'Speaking response...'. Add a 30-second safety-net timeout that fires after the final chunk is queued. If TTS callbacks haven't drained all utterances by then, the timeout force-cleans the playback state and emits SpeakingStopped. Cancels automatically on natural completion or explicit stop().
…3.9, Hilt 2.59.2
- Remove kotlin-android plugin (AGP 9 built-in Kotlin via Path A)
- Add root buildscript KGP classpath pin (2.3.21)
- Remove kotlinOptions {} blocks from all 13 modules
- Remove android.suppressUnsupportedCompileSdk=36
- Add junit-platform-launcher to all test modules (Gradle 9 requirement)
- Fix exec/scoping issues for Gradle 9 Kotlin DSL
- Add missing activity-compose dependency to feature:chat
- Fix Kotlin 2.3.x combine intersection type reification
- Fix Kotlin 2.3.x nested fraction regex behavior change
- Suppress pre-existing lint errors; add lint baseline for :app
…atalog, KGP cleanup
- Move lint {} to android {} sibling (was nested inside compileOptions {})
- Restore gitSha via providers.exec (lazy, fallback 'unknown')
- Add junit-platform-launcher to version catalog (BOM-managed, no version)
- Replace hardcoded strings with libs.junit.platform.launcher in 11 modules
- Remove buildscript {} KGP classpath (AGP 9 resolves from kotlin-compose plugin)
- Fix double blank lines in core/inference and feature/chat build files
- Remove kotlin-android plugin (resolved by kotlin-compose via AGP 9 Path A)
- Remove kotlinOptions {} block
- Add testRuntimeOnly(libs.junit.platform.launcher)
Debug APK readyCommit: Updated on each push. Removed when PR is merged or closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #915
Summary
Upgrade build infrastructure: AGP 8.7.3 → 9.0.1, Gradle 8.11.1 → 9.1.0, Kotlin 2.2.21 → 2.3.21, KSP 2.2.21-2.0.5 → 2.3.9, Hilt 2.58 → 2.59.2.
Key changes
Plugin & compiler
kotlin-androidplugin — AGP 9 Path A (built-in Kotlin)buildscript {}KGP classpath pin removed after CR (AGP 9 resolves fromkotlin-compose)kotlinOptions {}blocksandroid.suppressUnsupportedCompileSdk=36Dependencies
junit-platform-launcherto version catalog (BOM-managed, no explicit version)activity-composeto:feature:chatwork-runtime-ktxto:appCompatibility fixes
app/build.gradle.kts: git SHA viaproviders.exec(Gradle 9 compat)ChatViewModel.kt: explicitArray<Any?>type for Kotlin 2.3.x combine reificationLatexConversionTest.kt: update nested fraction expectation (Kotlin 2.3.x regex change)app/lint-baseline.xmlModules excluded
core/model-availability— no git-tracked source filesfeature/onboarding— onlybuild.gradle.ktstracked, nosrc/Verification
assembleDebug✓test(433+ tests) ✓lint✓ (no new issues; 8 errors + 33 warnings baselined)