aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvicsokolova <82594708+mvicsokolova@users.noreply.github.com>2024-03-07 17:51:17 +0100
committerGitHub <noreply@github.com>2024-03-07 17:51:17 +0100
commit16b9b937cb6b21944ec384f8c3152aecdad3b06a (patch)
tree8ae88eea41adb462464456e2f3370521e9464e54
parent76d3f5cb3cae75aee67903cf362019c69daf8787 (diff)
downloadkotlinx.atomicfu-16b9b937cb6b21944ec384f8c3152aecdad3b06a.tar.gz
[integration-tests]: run Gradle builds of projects with --no-daemon option. (#409)
-rw-r--r--integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Utils.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Utils.kt b/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Utils.kt
index cd5f1ac..9686a78 100644
--- a/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Utils.kt
+++ b/integration-testing/src/functionalTest/kotlin/kotlinx.atomicfu.gradle.plugin.test/framework/runner/Utils.kt
@@ -26,9 +26,9 @@ internal fun GradleBuild.buildGradleByShell(
private fun buildSystemCommand(projectDir: File, commands: List<String>, properties: List<String>): List<String> {
return if (isWindows)
- listOf("cmd", "/C", "gradlew.bat", "-p", projectDir.canonicalPath) + commands + properties
+ listOf("cmd", "/C", "gradlew.bat", "-p", projectDir.canonicalPath) + commands + properties + "--no-daemon"
else
- listOf("/bin/bash", "gradlew", "-p", projectDir.canonicalPath) + commands + properties
+ listOf("/bin/bash", "gradlew", "-p", projectDir.canonicalPath) + commands + properties + "--no-daemon"
}
private val isWindows: Boolean = System.getProperty("os.name")!!.contains("Windows")