Use 'teamcity.version' property to detect CI in K/N tests

This commit is contained in:
Ilya Matveev
2018-09-10 20:36:31 +03:00
committed by Ilya Matveev
parent 0ac701d8bf
commit f7949a2131
2 changed files with 2 additions and 2 deletions
@@ -404,7 +404,7 @@ open class KotlinNativeTargetConfigurator(
// TODO: Provide a normal test path!
outputDir = project.layout.buildDirectory.dir("test-results").get().asFile
if (project.hasProperty("teamcity")) {
if (project.hasProperty("teamcity.version")) {
args("--ktest_logger=TEAMCITY")
}
@@ -57,7 +57,7 @@ open class KotlinNativeCompile : AbstractCompile() {
val libraries: FileCollection
@InputFiles get() = compilation.compileDependencyFiles
val friendModule: FileCollection?
private val friendModule: FileCollection?
// It's already taken into account in libraries
@Internal get() = compilation.friendCompilation?.output