Commit Graph

21 Commits

Author SHA1 Message Date
Mikhail Filippov
2a6c54682d update Bazel files
GitOrigin-RevId: 794f9371e3fc33b09d7d7f54cf93adb0b83ebe31
2025-03-12 18:29:32 +00:00
Marco Pennekamp
73718bf739 [kotlin] Add warning to kotlin.util.compiler-classpath gitkeep
^KTIJ-33451

GitOrigin-RevId: b5e390bb061874902f7d4ff9f525196078372f6a
2025-03-12 12:53:31 +00:00
Marco Pennekamp
e484333633 Revert "kotlin.util.compiler-classpath - remove empty source root"
This reverts commit f8abed606db6d32bea342bd3c988eedc09fc2289.

^KTIJ-33451 fixed

GitOrigin-RevId: ad37c2b01cb767619205c2d37069e2c03a2d57a7
2025-03-12 12:53:30 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Vladimir Krivosheev
95be7c9dd5 kotlin.util.compiler-classpath - remove empty source root
GitOrigin-RevId: f8abed606db6d32bea342bd3c988eedc09fc2289
2024-11-27 08:15:01 +00:00
Anna Kozlova
7a51c30de0 [kotlin] fix configuration files format
GitOrigin-RevId: d804d405c233c780109d80b4685750f2e71462ca
2024-09-04 20:39:28 +02:00
Denis.Zharkov
78d5b20cd3 IJPL-160628: Replace javaslang library with io.vavr
Initially, the library (javaslang) was brought with
Kotlin compiler parts and now it's being updated to
its new reincarnation (vavr) which resolves
ClassLoader-related issue in the compiler (see KT-63502).

Thus, we replace it in the IJ repository, too.

GitOrigin-RevId: 4c38150565911aed57bfbf0933ac09c14a68d2fb
2024-09-04 12:10:12 +00:00
Ilya Kirillov
a2bbe4d318 Remove snapshot kotlin stdlib from Kotlin plugin
^KT-62510
^KTIJ-20529 fixed

GitOrigin-RevId: a49099902566abb23dfb56a578b368b4973e332f
2023-10-20 20:53:09 +00:00
Daniil Ovchinnikov
675b19fb2c IJPL-130 rename library kotlin-coroutines-jdk8 -> kotlin-coroutines-core
GitOrigin-RevId: e987a9f48391d74e401c860a57f99634ccc21a4a
2023-05-18 22:52:00 +00:00
Vladimir Krivosheev
63f26ba540 don't use guava without a valid reason
GitOrigin-RevId: 201cded1344072c68b29bf42c246f2324731e96f
2023-02-14 09:36:24 +00:00
Yan Zhulanow
4fdd6448c8 [kotlin] Add missing intellij.platform.util.jdom module for Kotlin anchor resolution
GitOrigin-RevId: 8064f0f4dad969011f9e9a0da6eb4b85775f7cf7
2022-04-15 19:38:52 +00:00
Nikita Bobko
098573c57c Split kotlin-stdlib-jdk8 and kotlin-reflect libraries
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
2021-11-10 13:52:22 +00:00
Yan Zhulanow
3163d16b08 [kotlin] Remove extra dependencies on Gradle modules
GitOrigin-RevId: 26b2cf8bafe893f511fb7be324edc16bab5bd14f
2021-07-27 20:21:38 +00:00
Dmitry Gridin
38221a7967 [kotlin] replace kotlinc.kotlin-stdlib-jdk8 with kotlin-stdlib-jdk8
^KTIJ-10035

GitOrigin-RevId: 93f6f0e9c0d24459068ae65b4d1263df5e617390
2021-04-23 12:58:37 +03:00
Nikita Bobko
2e086471df Register Kotlin compiler classpath as an anchor modules
This makes Kotlin resolve possible to resolve from libraries (kotlinc libraries in our case)
to sources (IJ platfrom sources in our case). See - KT-24309

This commit fixes unresolved references (of classes from kotlinc) in IDE

Q: Why do we need `community/plugins/kotlin/kotlin-compiler-classpath/src/.gitkeep`?
A: Because if anchor module doesn't have source root then kotlin resolve ignores this module

GitOrigin-RevId: d01be9c4e511c399a0e5f33bbea85709ebb44a28
2021-04-21 16:14:44 +03:00
Dmitriy.Panov
461f9763b2 IDEA-265498 non-existent source roots
GitOrigin-RevId: 3c59a65753a35631f82a2265ca468f42922b7f93
2021-04-20 22:57:24 +03:00
Nikita Bobko
f3f4fbd1f9 Convert all kotlinc-delegator.* modules to kotlinc.* libraries
Cooperative compilation plans changed and we don't need delegator modules anymore

GitOrigin-RevId: c8b8ca7a8bea68ce1bf5fb0425956f5cc0f61d18
2021-04-19 13:39:10 +03:00
Nikita Bobko
6e29578615 Replace dependency on 'kotlinc.kotlin-stdlib-jdk8' with dependency on 'kotlinc-delegator.kotlin-stdlib-jdk8' module delegator
This commit is part of series of project model refactoring commits, look at neighborhood commits.
Check out last commits in this sequence.

These commit are done for sake of unification and making it easier to write cooperative compilation
prototype.

GitOrigin-RevId: 4ec18be4192e6ea9fe93f14e3e9fac83cec68c91
2020-11-16 14:55:23 +03:00
Yan Zhulanow
3a0beb7a21 Revert "fix compilation: explicitly set Java 8 language level"
This reverts commit fcbc8b79

GitOrigin-RevId: f1f7a858b0e12dc16bf84b2a003279c847c3cc1a
2020-08-12 13:02:43 +03:00
Dmitry Gridin
b6eeb7cd28 fix compilation: explicitly set Java 8 language level
GitOrigin-RevId: 2807fc4a4fa13899d7b89de5e0422234b2f9c39b
2020-08-12 09:05:02 +03:00
Yan Zhulanow
922609eba4 Move anchor module to kotlin/ directory
The anchor module is needed for both '/' (Ultimate-based) and 'kotlin/' (Community-based) repositories.
The latter contains only the kotlin/ subdirectory, and it's impossible to refer to modules in tools/.

GitOrigin-RevId: be684d801e4fdc137276c32baddc85022b77244a
2020-07-15 22:29:01 +03:00