Skip to content

Commit 0403d70

Browse files
committed
Don't leave Gradle daemons after build scripts
(cherry picked from commit 7bf2685)
1 parent 52b225d commit 0403d70

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/build-kotlin-compiler.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ echo "DEPLOY_VERSION=$DEPLOY_VERSION"
2222
echo "BUILD_NUMBER=$BUILD_NUMBER"
2323

2424
# Build dist/kotlin-compiler.zip
25-
./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8
25+
./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon

scripts/build-kotlin-maven.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ mvn -DnewVersion=$DEPLOY_VERSION -DgenerateBackupPoms=false -DprocessAllModules=
3434
-Pbuild.number=$BUILD_NUMBER \
3535
-Pversions.kotlin-native=$KOTLIN_NATIVE_VERSION \
3636
-Pteamcity=true \
37+
--no-daemon \
3738
publish
3839

3940
# Build maven part and publish it to the same build/repo

0 commit comments

Comments
 (0)