type error fixed

This commit is contained in:
nik
2016-02-01 12:28:00 +03:00
parent 6ded6d6f00
commit 717ee477cd
+1 -1
View File
@@ -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")
}