From b37c69a1beedd923334954e60a51ac10fb14bca9 Mon Sep 17 00:00:00 2001 From: Dmitry Kandalov Date: Mon, 28 Oct 2024 08:42:57 +0000 Subject: [PATCH] fixed tests --- .../liveplugin/implementation/kotlin/EmbeddedCompilerTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-compiler-wrapper/test/liveplugin/implementation/kotlin/EmbeddedCompilerTests.kt b/kotlin-compiler-wrapper/test/liveplugin/implementation/kotlin/EmbeddedCompilerTests.kt index 930fcf4c..eca9dfc7 100644 --- a/kotlin-compiler-wrapper/test/liveplugin/implementation/kotlin/EmbeddedCompilerTests.kt +++ b/kotlin-compiler-wrapper/test/liveplugin/implementation/kotlin/EmbeddedCompilerTests.kt @@ -107,7 +107,7 @@ private class KtsScriptFixture { private val kotlinScriptCompilerImplEmbeddable = findInGradleCache("kotlin-scripting-compiler-impl-embeddable") private fun findInGradleCache(libName: String): File { - val kotlinVersion = "2.0.21" + val kotlinVersion = "2.0.10" val dir = File(System.getProperty("user.home") + "/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin") val libDir = dir.listFiles()?.find { it.name == libName } ?: error("Couldn't find $libName in $dir") val libVersionDir = libDir.listFiles()?.find { it.name == kotlinVersion } ?: error("Couldn't find $kotlinVersion in $libDir")