mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Add kotlinx-coroutines-core dependency to JPS builders
Included kotlinx-coroutines-core in BUILD.bazel, IntelliJ module dependencies, and classpath setup to allow its usage in JPS builders. GitOrigin-RevId: 0318f27a154d80ec7fb17ae26ddcb78d29853f88
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3ca9b7891b
commit
437e8c8cab
@@ -98,6 +98,7 @@ suspend fun buildCommunityStandaloneJpsBuilder(targetDir: Path,
|
||||
"jps-javac-extension",
|
||||
"fastutil-min",
|
||||
"kotlin-stdlib",
|
||||
"kotlinx-coroutines-core",
|
||||
"commons-lang3",
|
||||
"maven-resolver-provider",
|
||||
"aalto-xml",
|
||||
|
||||
@@ -46,6 +46,7 @@ jvm_library(
|
||||
"@lib//:maven-resolver-provider",
|
||||
"@lib//:http-client",
|
||||
"@lib//:kotlin-metadata",
|
||||
"@lib//:kotlinx-coroutines-core",
|
||||
],
|
||||
exports = [
|
||||
"@lib//:maven-resolver-provider",
|
||||
|
||||
@@ -76,5 +76,6 @@
|
||||
<orderEntry type="library" exported="" name="maven-resolver-provider" level="project" />
|
||||
<orderEntry type="library" exported="" name="http-client" level="project" />
|
||||
<orderEntry type="library" name="kotlin-metadata" level="project" />
|
||||
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -22,6 +22,7 @@ import com.intellij.util.lang.JavaVersion;
|
||||
import com.jgoodies.forms.layout.CellConstraints;
|
||||
import com.thoughtworks.qdox.JavaProjectBuilder;
|
||||
import kotlin.metadata.jvm.JvmMetadataUtil;
|
||||
import kotlinx.coroutines.Deferred;
|
||||
import net.n3.nanoxml.IXMLBuilder;
|
||||
import org.h2.mvstore.MVStore;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
@@ -166,6 +167,7 @@ public final class ClasspathBootstrap {
|
||||
addToClassPath(cp, HashMapZipFile.class); // intellij.platform.util.zip
|
||||
|
||||
ClassPathUtil.addKotlinStdlib(cp);
|
||||
addToClassPath(cp, Deferred.class); // kotlinx.coroutines, used intellij.platform.util, EnvironmentUtil
|
||||
addToClassPath(cp, JvmMetadataUtil.class); // kotlin metadata parsing
|
||||
addToClassPath(cp, COMMON_REQUIRED_CLASSES);
|
||||
getNettyForJpsClasspath(path -> cp.add(path.toString()));
|
||||
|
||||
Reference in New Issue
Block a user