Yan Zhulanow
f0e703e1ee
[FIR IDE] Add artifacts with base components of Analysis API implementations
2021-10-21 18:05:01 +09:00
Yan Zhulanow
516dd825c2
[FIR IDE] Initial descriptor-based implementation of the Analysis API
2021-10-20 19:41:24 +03:00
Vyacheslav Gerasimov
29787218e1
Build: Add proper kotlin-compiler-runner-unshaded for ide artifacts
...
Fixes tests in kt-212-master branch of kotlin plugin in
intellij-community repository
2021-09-28 13:42:31 +03:00
Vyacheslav Gerasimov
f91d6958a8
Build: Rework runtimeJar helper and drop redundant configuration
...
#KTI-559
2021-09-26 20:10:29 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Ilya Kirillov
678b931ba3
Analysis API: introduce Project Structure
2021-09-22 12:57:14 +02:00
Ilya Kirillov
b43e664985
FIR IDE: move analysis api fir test sources to the analysis directory
2021-09-15 11:32:32 +02:00
Ilya Kirillov
5e9f807c78
FIR IDE: move analysis api fir main sources to the analysis directory
2021-09-15 11:32:30 +02:00
Ilya Kirillov
b70f4f581e
FIR IDE: move low level api main sources to the analysis directory
2021-09-15 11:32:22 +02:00
Ilya Kirillov
0c04ff98c3
FIR IDE: move analysis api to the analysis directory
2021-09-15 11:31:30 +02:00
Ilya Kirillov
da962895a8
Split compiler-for-ide jar into multiple jars
...
Needed for IDE to gradually control which plugin (FE1.0, FIR) on which jar may depend
Jars: Common, IR, FIR FE1.0 and PSI
2021-09-14 14:45:41 +02:00
Hung Nguyen
3f857cdef1
KT-45777: Update keep rules for serializable classes
...
to prevent broken serialization caused by missing fields/methods.
(Without this commit, the next commit will break tests.)
2021-09-14 12:10:38 +03:00
Ilya Kirillov
c17a4a5a3b
FIR IDE: move light classes to separate module
2021-08-24 20:13:09 +03:00
Ilya Kirillov
abe2311372
FIR IDE: move declaration/package providers to separate module
2021-08-24 20:12:58 +03:00
Nikolay Krasko
83023c2073
Remove 202 platform support in build scripts
2021-07-23 16:58:28 +03:00
Nikolay Krasko
ec99585eb9
Remove explicit registration of classFileDecompiler EP and core.xml
2021-07-23 16:58:27 +03:00
Nikita Bobko
39fa2b0baf
Delete Kotlin IntelliJ IDEA plugin sources
...
Kotlin plugin sources were migrated to intellij-community:
https://github.com/JetBrains/intellij-community/tree/master/plugins/kotlin
Preserve `jps-plugin/testData/incremental`
because it's used in `compiler/incremental-compilation-impl/test`
Preserve `idea/testData/multiModuleHighlighting/multiplatform`
because it's used in `MppHighlightingTestDataWithGradleIT`
2021-07-21 11:23:43 +02:00
Alexander Likhachev
1a77b57a7b
[Gradle] Provide JNA jar to compiler classpath with intellij-core 203+
...
#KT-47748 Fixed
2021-07-15 20:41:57 +03:00
Yahor Berdnikau
de22a467a1
Ensure default toolchain is also set to java only modules.
...
^KT-46972 Fixed
2021-07-09 19:36:27 +03:00
Yan Zhulanow
cf65754ea4
Update 203 bunch
2021-07-08 13:29:18 +03:00
Nikita Bobko
2a26c29390
Disable kotlin-scripting-ide-common publishing
...
We don't need this artifact in IDE anymore since we are not
going to move ide-common classes to kotlin repo. See previous commit
2021-07-08 10:01:35 +00:00
Nikita Bobko
365821ae54
2/2 Extract code which is required for :kotlin-scripting-ide-services from ide-common into seprate module
...
Extract the code and keep it in Kotlin repo. See previous preparation commit as well
2021-07-07 16:51:43 +02:00
Yahor Berdnikau
7789054547
Migrate repo to use JVM toolchains Gradle feature.
...
^KT-46972 Fixed
2021-07-05 14:11:12 +00:00
Nikita Bobko
e5fbd0e2d8
Publish :idea-frontend-api, :idea-frontend-fir, :idea-fir-low-level-api modules artifacts
...
These artifacts are used in Kotlin plugin
2021-06-22 03:06:18 +03:00
Nikita Bobko
938cd955e1
Remove :idea prefix in IDE FIR modules which are going to stay in kotlin repo
...
This commit fixes not possibility to build project with `disableKotlinPluginModules`
flag on because Gradle tries to resolve `:idea` module which is disabled
2021-06-22 03:06:16 +03:00
Ilya Kirillov
75331b3448
FIR IDE: abstract low-level-api from dependency on idea
2021-06-20 22:07:11 +02:00
Jinseong Jeon
7a5d61928b
FIR/IDE: migrate FIR evaluator to idea-frontend-fir
2021-06-19 21:58:48 -07:00
Jinseong Jeon
5e2525175e
Introduce fir.evaluate module with CompileTimeConstantEvaluator
2021-06-19 21:35:33 -07:00
Roman Golyshev
1cd75b1e82
kotlin-stdlib:jvm-minimal-for-test -> kotlin-stdlib-jvm-minimal-for-test
...
Changed after cherry-picking 8baf570ee7
to the master-for-ide branch
2021-06-17 20:19:49 +03:00
Roman Golyshev
6ea4b8997b
Add kotlin-stdlib-minimal-for-test.jar artefact to the published dependencies
...
Some compiler tests rely on this jar instead of the regular `stdlib`
2021-06-17 20:19:48 +03:00
Vyacheslav Gerasimov
58f1fb644f
Build: Stop publishing jars with original classifier
...
#KTI-580
2021-06-17 19:43:10 +03:00
Steffi Stumpos
8baf570ee7
Build: Publish the new compiler test infrastructure
2021-06-12 04:33:31 +03:00
Nikita Bobko
02bd17a4e2
Add compiler/fir/raw-fir/psi2fir/testData to testdata which is used by Kotlin plugin in IJ infra
2021-06-10 12:16:16 +02:00
Nikita Bobko
3aebd0315f
Make it possible to run DiagnosisCompilerTestDataSpecTestGenerated from fir-low-level-api in IJ infra
2021-06-09 19:44:08 +03:00
Nikolay Krasko
48a4d7d418
Build: drop maven publication for Kotlin plugin artifacts
2021-06-09 17:43:54 +03:00
Nikita Bobko
e4205e5aa7
Pack 'compiler/testData/diagnostics/helpers' into kotlin-compiler-testdata-for-ide
...
This testdata is required for AbstractDiagnosisCompilerTestDataTest in FIR IDE in IJ infrastructure
2021-06-03 15:34:46 +02:00
Nikita Bobko
3c7b07b90f
Include tests-compiler-utils into kotlin-compiler-tests-for-ide artifact
...
It fixes:
```
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/fir/FirCfgConsistencyChecker
at org.jetbrains.kotlin.test.frontend.fir.handlers.FirCfgConsistencyHandler.processModule(FirCfgConsistencyHandler.kt:15)
at org.jetbrains.kotlin.test.frontend.fir.handlers.FirCfgConsistencyHandler.processModule(FirCfgConsistencyHandler.kt:13)
at org.jetbrains.kotlin.test.TestRunnerKt.processModule(TestRunner.kt:236)
at org.jetbrains.kotlin.test.TestRunnerKt.hackyProcess(TestRunner.kt:231)
at org.jetbrains.kotlin.test.TestRunnerKt.access$hackyProcess(TestRunner.kt:1)
```
while running `DiagnosisCompilerTestFE10TestdataTestGenerated.Tests#testBinaryCallsOnNullableValues` (and probably other tests) in new infrastructure
2021-06-03 15:04:10 +02:00
Nikita Bobko
ea24da117b
Publish compiler testdata which is required for Kotlin plugin
2021-06-02 21:30:03 +03:00
Nikita Bobko
1abf3a39d4
Fix kotlin-compiler-tests-for-ide. tests jars should be published
2021-05-27 17:23:46 +02:00
Nikita Bobko
2d015da1ea
Make it possible to depend on the rest of :prepare:ide-plugin-dependencies modules
...
Those modules used as "aggregate" modules. kotlin-ide modules depend on them in coop-dev
2021-05-27 16:32:14 +02:00
Dmitriy Novozhilov
a1ae108ce5
[FIR] Properly generate IDE diagnostics from multiple diagnostics lists
2021-05-21 14:18:58 +03:00
Nikita Bobko
6d125e0880
Initial implementation of kotlin + intellij combined repo
2021-05-20 16:05:36 +02:00
Andrey Zinovyev
82b7f589ad
Add missing base-compiler-plugins-ide-support dependencies
2021-05-18 11:49:04 +03:00
Ilya Kirillov
8b722cfc47
Separate uast-idea modules into fir and fe10 implementations
2021-05-14 20:57:20 +03:00
Yan Zhulanow
cc4c61d2b3
Remove dependency on parcelize-runtime in the Parcelize compiler plugin
2021-05-14 01:06:39 +09:00
Yan Zhulanow
e90cc30edb
Remove CLI and some of daemon-related modules from compiler-for-ide
...
These modules is not required by the plugin, and the plugin verifier
warns about unsatisfied dependencies of the modules.
CLI is needed in tests so a separate artifact is created instead.
2021-05-14 01:06:39 +09:00
Yan Zhulanow
26f71c33c0
IDE: Publish JS IR klib artifact
2021-05-14 01:06:39 +09:00
Nikita Bobko
bee8c0bb90
Publish :compiler:test-infrastructure for ide
2021-05-11 12:36:59 +02:00
Andrey Zinovyev
b58bea6fa1
[lombok] IDE plugin with maven import handler
2021-04-29 23:14:14 +03:00
Alexander Udalov
005aa57f6d
Remove obsolete module cli-js-klib
...
It's no longer used anywhere in the build.
2021-04-14 13:47:02 +02:00