Enable progressive mode for Kotlin compilation#3024
Conversation
Opt all subprojects into the Kotlin compiler's progressive mode so bug-fix deprecations take effect immediately instead of waiting for the next language version. All modules compile cleanly with the flag enabled. Fixes google#2984
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hey, @KlyneChrysler, thank you for the PR! Please sign the CLA if you want the PR merged. Additionally, I will have to consider if we are ready to enable progressive mode just yet. |
|
@googlebot I signed it! |
|
Hi @jaschdoc, thanks for the review and the guidance. I've signed the CLA, the checks are passing, and the branch is up to date with I completely understand if progressive mode isn't ready yet. I'm happy to adjust the PR, leave it open, or revisit it later if that's the better path. |
|
Sounds good, thank you for the response! :) |
Fixes #2984
Opts all subprojects into the Kotlin compiler's progressive mode via the central subprojects compiler options block, alongside the existing languageVersion and apiVersion pins.
Verified locally with ./gradlew compileKotlin compileTestKotlin across all modules. Progressive mode escalated nothing to an error and the only compiler output is preexisting deprecation warnings unrelated to the flag.