You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/12/01 01:41:11 UTC

[groovy-release] 01/03: add --no-build-cache when building for release

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-release.git

commit 2534b35e34b11f591a181ea6286ebbce4f02313c
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Mar 6 16:47:20 2020 +1000

    add --no-build-cache when building for release
---
 gradle/phase1.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gradle/phase1.gradle b/gradle/phase1.gradle
index 122c40b..ba2990d 100644
--- a/gradle/phase1.gradle
+++ b/gradle/phase1.gradle
@@ -151,7 +151,8 @@ task buildAndUpload(type: Exec, dependsOn: [assumesPropsSet, updateVersionProper
     if (project.hasProperty('useAntlr4')) {
         theArgs << "-PuseAntlr4=${getProperty('useAntlr4')}"
     }
-    theArgs << "-PartifactoryContext=https://groovy.jfrog.io/groovy/"
+    theArgs << '--no-build-cache'
+    theArgs << "-PartifactoryContext=https://groovy.jfrog.io/groovy/" // apache-groovy for Groovy 4
     theArgs << "-PartifactoryRepoKey=${releaseBuild ? 'libs-release-local' : 'libs-snapshot-local'}"
     if (project.hasProperty('skipPublish')) {
         theArgs += ['install', 'dist']