Skip to content

Commit

Permalink
Don't leave Gradle daemons after build scripts
Browse files Browse the repository at this point in the history
(cherry picked from commit 7bf2685)
  • Loading branch information
goodwinnk committed Dec 19, 2022
1 parent 52b225d commit 0403d70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-kotlin-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
./gradlew -PdeployVersion=$DEPLOY_VERSION -Pbuild.number=$BUILD_NUMBER -Pteamcity=true zipCompiler -Dfile.encoding=UTF-8 --no-daemon
1 change: 1 addition & 0 deletions scripts/build-kotlin-maven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0403d70

Please sign in to comment.