Skip to content

Enable progressive mode for Kotlin compilation#3024

Open
KlyneChrysler wants to merge 2 commits into
google:mainfrom
KlyneChrysler:build/2984-progressive-mode
Open

Enable progressive mode for Kotlin compilation#3024
KlyneChrysler wants to merge 2 commits into
google:mainfrom
KlyneChrysler:build/2984-progressive-mode

Conversation

@KlyneChrysler

@KlyneChrysler KlyneChrysler commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

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.

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
@google-cla

google-cla Bot commented Jul 8, 2026

Copy link
Copy Markdown

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.

@jaschdoc

jaschdoc commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

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.

@KlyneChrysler

Copy link
Copy Markdown
Contributor Author

@googlebot I signed it!

@KlyneChrysler

KlyneChrysler commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

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

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.

@jaschdoc

jaschdoc commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Sounds good, thank you for the response! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable progressive mode for Kotlin

2 participants