Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkandalov committed Oct 28, 2024
1 parent 9a03272 commit b37c69a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b37c69a

Please sign in to comment.