From 717ee477cdbc0626a967b3a137de20cec968440b Mon Sep 17 00:00:00 2001 From: nik Date: Mon, 1 Feb 2016 12:27:34 +0300 Subject: [PATCH] type error fixed --- build/scripts/download_kotlin.gant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }