mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
Some facts:
1. Kotlin plugin bundles own version of kotlin-stdlib and reflect (see KotlinPluginBuilder.groovy).
We bundle own version of stdlib and reflect (but not use the one which comes with IDEA) because
otherwise we would have runtime errors in compiler frontend which we depend on
(kotlinc.kotlin-compiler)
2. Kotlin plugin exists in two release cycles. We have special `kt-xxx-[kotlin_compiler_version]`
branches (e.g. kt-212-1.5.30 branch) in the repository where we put Kotlin plugin fixes which
should be delivered in KT release cycle.
2.1 The fact that we publish Kotlin plugin artifacts to marketplace from special kt-branches
leads to the fact that stdlib may be different in Kotlin plugin and IntelliJ IDEA. By
separating `kotlin-stdlib-jdk8` and `kotlinc.kotlin-stdlib` we make it obvious that Kotlin
plugin has it's own stdlib
This commit fixes broken incremental compilation in kt-212-master
on TeamCity because now we have to bootstrap only kotlinc.kotlin-stdlib.
Previously, we had to bootstrap kotlin-stdlib-jdk8 which caused problems
with incremental compilation because whole monorepo depends on this artifact.
Also now during kotlinc updates in `intellij/master` we don't have to update kotlin-stdlib-jdk8
every time to keep kotlinc version the same among different imls/xmls in the monorepo
https://jetbrains.team/im/code/258iod1xjiFZ?message=BK9Aq0SIM1A&channel=152Z1w0RwrFp
(cherry picked from commit 23b2a70604c5c578983b0d76cb8634b9ed301a59)
GitOrigin-RevId: 773c01c405f2eb9db8d88ce3c58e4bdcee66c085
31 lines
2.0 KiB
XML
31 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<module type="JAVA_MODULE" version="4">
|
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
<exclude-output />
|
|
<content url="file://$MODULE_DIR$">
|
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
|
</content>
|
|
<orderEntry type="inheritedJdk" />
|
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
<orderEntry type="module" module-name="intellij.platform.core" scope="RUNTIME" />
|
|
<orderEntry type="library" name="kotlinc.kotlin-stdlib" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-reflect" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-compiler" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-scripting-compiler" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="kotlin-script-runtime" level="project" />
|
|
<orderEntry type="library" scope="TEST" name="kotlinc.kotlin-script-util" level="project" />
|
|
<orderEntry type="module" module-name="kotlin.plugin" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.common" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.core" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.fir.frontend-independent" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.idea.tests" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.idea" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.jvm" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.tests-common" scope="TEST" />
|
|
<orderEntry type="module" module-name="kotlin.test-framework" scope="TEST" />
|
|
<orderEntry type="module" module-name="intellij.platform.editor" scope="TEST" />
|
|
<orderEntry type="module" module-name="intellij.platform.vcs.impl" scope="TEST" />
|
|
<orderEntry type="module" module-name="intellij.java.psi" scope="TEST" />
|
|
</component>
|
|
</module> |