Minor. Fix compilation
This commit is contained in:
@@ -100,7 +100,7 @@ fun Project.projectTest(taskName: String = "test", body: Test.() -> Unit = {}):
|
|||||||
systemProperty("kotlin.ni", if (rootProject.hasProperty("newInferenceTests")) "true" else "false")
|
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
|
//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 {
|
(teamcity?.get("teamcity.build.tempDir") as? String)?.let {
|
||||||
systemProperty("java.io.tmpdir", it)
|
systemProperty("java.io.tmpdir", it)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user