diff --git a/build/scripts/download_kotlin.gant b/build/scripts/download_kotlin.gant index e9dbcbc33a5b..a43b6d5eeba6 100644 --- a/build/scripts/download_kotlin.gant +++ b/build/scripts/download_kotlin.gant @@ -243,7 +243,7 @@ private boolean downloadAndExtract(TeamCityBuildLocator buildLocator, String com ant.patternset(includes: "Kotlin/lib/jps/**") ant.globmapper(from: "Kotlin/lib/jps/*", to: "*") } - def reasonToUpdate = getReasonToUpdate(communityHome, kotlincDir, classVersionOfCompiledClasses) + def reasonToUpdate = getReasonToUpdate(communityHome, new File(kotlincDir), classVersionOfCompiledClasses) if (reasonToUpdate != null) { projectBuilder.warning("Cannot use the downloaded Kotlin plugin: $reasonToUpdate") }