From e49dc899920dce06383cb7f9bd3cba5316cda09b Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Sat, 21 Nov 2020 16:48:49 +0100 Subject: Update kotlin-compiler-embeddable to 1.3.72 Since 1.3.70, the Kotlin compiler by default uses an internal framework to read binary Java class files instead of relying on IntelliJ's PSI to do it for them. This internal framework was introduced in commit d65af8f to reduce the amount of unnecessary work done by the PSI model. Our entire mapper was written for the PSI model though (and remains to be because it must also support Java), so it would fail to remap any Kotlin files if kotlin-compiler-embeddable was upgraded (for whatever reason) to at least 70 where the new behavior became the default. Luckily there exists a config flag (renamed in the same version) which allows us to go back to the PSI reader, so that's what this commit does. --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index de0684b..8493ae8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ repositories { } dependencies { - compile("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.40") + compile("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72") implementation(kotlin("stdlib")) compile("org.cadixdev:lorenz:0.5.0") } -- cgit