1- From 20ffff74e685599daac723958a483ac7f4203890 Mon Sep 17 00:00:00 2001
1+ From cfb1cb53049bb363933586c28214c230e5e8e551 Mon Sep 17 00:00:00 2001
22From: Akash Yadav <akashyadav@appdevforall.org>
33Date: Wed, 25 Mar 2026 20:26:23 +0530
44Subject: [PATCH 11/11] fix: add shim for IntelliJCoroutines
55
66Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
77---
88 .../android-shims/build.gradle.kts | 1 +
9- .../internal/intellij/IntelliJCoroutines .kt | 29 +++++++++++++++++++
9+ .../internal/intellij/IntellijCoroutines .kt | 29 +++++++++++++++++++
1010 2 files changed, 30 insertions(+)
11- create mode 100644 prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntelliJCoroutines .kt
11+ create mode 100644 prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntellijCoroutines .kt
1212
1313diff --git a/prepare/ide-plugin-dependencies/android-shims/build.gradle.kts b/prepare/ide-plugin-dependencies/android-shims/build.gradle.kts
1414index 07633a92595e..8dbcf1627d3f 100644
@@ -22,11 +22,11 @@ index 07633a92595e..8dbcf1627d3f 100644
2222
2323 val httpClientVersion = libs.versions.http.client.get()
2424 val jsonVersion = libs.versions.json.get()
25- diff --git a/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntelliJCoroutines .kt b/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntelliJCoroutines .kt
25+ diff --git a/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntellijCoroutines .kt b/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntellijCoroutines .kt
2626new file mode 100644
27- index 000000000000..2a8f2adac5f6
27+ index 000000000000..6be99690a201
2828--- /dev/null
29- +++ b/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntelliJCoroutines .kt
29+ +++ b/prepare/ide-plugin-dependencies/android-shims/src/main/java/kotlinx/coroutines/internal/intellij/IntellijCoroutines .kt
3030@@ -0,0 +1,29 @@
3131+ // Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
3232+ package kotlinx.coroutines.internal.intellij
@@ -40,7 +40,7 @@ index 000000000000..2a8f2adac5f6
4040+ * Some clients of IntelliJ Platform (like Kotlin Compiler) do now want to depend on IJ's form of Kotlin coroutines
4141+ * Therefore, we proxy [kotlinx.coroutines.internal.intellij.IntellijCoroutines] by introducing a set of no-op methods
4242+ */
43- + object IntelliJCoroutines {
43+ + object IntellijCoroutines {
4444+
4545+ fun currentThreadCoroutineContext(): CoroutineContext? = null
4646+
0 commit comments