From 0403d7056de5db24547a944a3af2dff915855ce5 Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 9 Dec 2022 18:02:20 +0100 Subject: [PATCH] Don't leave Gradle daemons after build scripts (cherry picked from commit 7bf2685b5b7833e7bd7643e6570643056843dec1) --- scripts/build-kotlin-compiler.sh | 2 +- scripts/build-kotlin-maven.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-kotlin-compiler.sh b/scripts/build-kotlin-compiler.sh index ac6b109c2bf51..2666d2f7f74b1 100755 --- a/scripts/build-kotlin-compiler.sh +++ b/scripts/build-kotlin-compiler.sh @@ -22,4 +22,4 @@ echo "DEPLOY_VERSION=$DEPLOY_VERSION" echo "BUILD_NUMBER=$BUILD_NUMBER" # Build dist/kotlin-compiler.zip -./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 \ No newline at end of file +./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon \ No newline at end of file diff --git a/scripts/build-kotlin-maven.sh b/scripts/build-kotlin-maven.sh index 8e08747566992..da23ef8269597 100755 --- a/scripts/build-kotlin-maven.sh +++ b/scripts/build-kotlin-maven.sh @@ -34,6 +34,7 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules= -Pbuild.number=$BUILD_NUMBER \ -Pversions.kotlin-native=$KOTLIN_NATIVE_VERSION \ -Pteamcity=true \ + --no-daemon \ publish # Build maven part and publish it to the same build/repo