diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-10-25 14:44:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 14:44:09 +0300 |
commit | 3be4dd94e3af2e749969ba352482eae6957cac5a (patch) | |
tree | f2ff7d93d63ce661025a9a1f6254c0dee1775588 /gradle/libs.versions.toml | |
parent | c745f96781522f4b126e64cb6c2bc1b249694d0d (diff) | |
download | dokka-3be4dd94e3af2e749969ba352482eae6957cac5a.tar.gz dokka-3be4dd94e3af2e749969ba352482eae6957cac5a.tar.bz2 dokka-3be4dd94e3af2e749969ba352482eae6957cac5a.zip |
[K2] Reorganize project model for MPP (#3236)
* Reorganize project model for MPP
We map Dokka's source set directly to a source module of Analysis API inside one Analysis Standalone session.
Analysis API session is created in src/main/kotlin/org/jetbrains/dokka/analysis/kotlin/symbols/plugin/KotlinAnalysis.kt (see fun createAnalysisSession)
Before the PR, one Dokka's source set corresponded to one Standalone API session with one source module that has source roots from dependent source sets.
* Add 'caffeine' dependency from Analysis API
* Fix sample provider
* Fix tests
* Enable tests and update the version of Analysis API.
The PR allows the enabling of some tests annotated with OnlyDescriptorsMPP.
Also, tests with OnlyDescriptorsMPP that have unresolved common symbols are fixed by the new version of Analysis API.
Diffstat (limited to 'gradle/libs.versions.toml')
-rw-r--r-- | gradle/libs.versions.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9a25490b..c7202839 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ kotlinx-bcv = "0.13.2" ## Analysis kotlin-compiler = "1.9.10" -kotlin-compiler-k2 = "1.9.30-dev-3330" +kotlin-compiler-k2 = "2.0.0-dev-5387" # MUST match the version of the intellij platform used in the kotlin compiler, # otherwise this will lead to different versions of psi API and implementations |