From e4149cbfd1a9b54dd15ae8d7efdf34f90d7678bd Mon Sep 17 00:00:00 2001 From: Misagh Date: Fri, 31 May 2024 10:55:42 +0400 Subject: [PATCH] force no daemon for gradle releases --- ci/release.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/release.sh b/ci/release.sh index 9ae5bb3ddb4c..9417fc5ec7be 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -16,18 +16,18 @@ function printred() { } function clean { - ./gradlew clean --parallel --no-configuration-cache + ./gradlew clean --parallel --no-configuration-cache --no-daemon } function build { printgreen "Creating OpenRewrite recipe for ${casVersion}..." - ./gradlew createOpenRewriteRecipe + ./gradlew createOpenRewriteRecipe --no-daemon git diff --quiet git status git add "**/rewrite/*.yml" && git commit -m "Generated OpenRewrite recipe for ${casVersion}" printgreen "Building CAS. Please be patient as this might take a while..." - ./gradlew assemble -x test -x check --parallel --no-watch-fs --no-configuration-cache \ + ./gradlew assemble -x test -x check --no-daemon --parallel --no-watch-fs --no-configuration-cache \ -DskipAot=true -DpublishReleases=true -DrepositoryUsername="$1" -DrepositoryPassword="$2" if [ $? -ne 0 ]; then printred "Building CAS failed." @@ -64,7 +64,7 @@ function publish { fi printgreen "Publishing CAS releases. This might take a while..." ./gradlew publishToSonatype closeAndReleaseStagingRepository \ - --no-build-cache --no-parallel --no-watch-fs --no-configuration-cache -DskipAot=true -DpublishReleases=true \ + --no-build-cache --no-daemon --no-parallel --no-watch-fs --no-configuration-cache -DskipAot=true -DpublishReleases=true \ -DrepositoryUsername="$1" -DrepositoryPassword="$2" -DpublishReleases=true \ -Dorg.gradle.internal.http.socketTimeout=640000 \ -Dorg.gradle.internal.http.connectionTimeout=640000 \