Skip to content

Copy sources from kotlin-compiler to override intellij-core#2785

Merged
hfmehmed merged 1 commit into
google:mainfrom
hfmehmed:copy-compiler-sources
Feb 11, 2026
Merged

Copy sources from kotlin-compiler to override intellij-core#2785
hfmehmed merged 1 commit into
google:mainfrom
hfmehmed:copy-compiler-sources

Conversation

@hfmehmed

@hfmehmed hfmehmed commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

BinaryFileTypeDecompilers and CoreProgressManager sources are copied over from https://github.com/JetBrains/kotlin to override the ones that KSP consumes via intellij-core

This should fix #2763

@hfmehmed hfmehmed merged commit d67002a into google:main Feb 11, 2026
3 checks passed
sourjatilak pushed a commit to sourjatilak/M3UAndroid that referenced this pull request May 4, 2026
KSP 2.3.5 has a known race where ApplicationManager.getApplication()
returns null on cold Gradle runs (no daemon, fresh config cache), producing:

    Cannot invoke "ksp.com.intellij.openapi.application.Application.getService(...)"
    because the return value of "ksp.com.intellij.openapi.application.ApplicationManager.getApplication()" is null

This hits our GitHub Actions workflow (android.yml, ubuntu-latest, Zulu
JDK 17) but not warm local builds. Tracked as google/ksp#2763, fixed by
google/ksp#2785 and released in KSP 2.3.6; 2.3.7 (latest) ships the same
fix plus upstream dependency crash fixes.

Verified locally: fresh :app:smartphone:assembleRelease with
KSP 2.3.7 -> BUILD SUCCESSFUL, no NPE, no new warnings on our sources.
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.

KSP version 2.3.5 CI error exception that does not break build checks

2 participants