Minor. Fix compilation

This commit is contained in:
Mikhael Bogdanov
2019-04-17 09:50:49 +02:00
parent 01dc66b53a
commit 3f1f335c47
+1 -1
View File
@@ -100,7 +100,7 @@ fun Project.projectTest(taskName: String = "test", body: Test.() -> Unit = {}):
systemProperty("kotlin.ni", if (rootProject.hasProperty("newInferenceTests")) "true" else "false")
//Temporary workaround for "not enough space" on Teamcity agents: should be fixed soon on Teamcity side
val teamcity = rootProject.property("teamcity") as? Map<*, *>
val teamcity = rootProject.findProperty("teamcity") as? Map<*, *>
(teamcity?.get("teamcity.build.tempDir") as? String)?.let {
systemProperty("java.io.tmpdir", it)
}