Skip to content
Permalink
Browse files
add --no-build-cache when building for release
  • Loading branch information
paulk-asert committed Mar 6, 2020
1 parent 8ddf683 commit 2534b35e34b11f591a181ea6286ebbce4f02313c
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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']

0 comments on commit 2534b35

Please sign in to comment.