Use 'teamcity.version' property to detect CI in K/N tests
This commit is contained in:
committed by
Ilya Matveev
parent
0ac701d8bf
commit
f7949a2131
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user