aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2021-06-15 01:38:41 -0700
committerJason Penilla <[email protected]>2021-06-15 01:38:41 -0700
commit89860077fa09d8c20979e6abb0fe75146c442e81 (patch)
tree0d9f28fa39bf682a181ab7ad4f7bcba3652cb07d /scripts
parent3846367c2de23db6bae256c930b4fba6256e9d87 (diff)
downloadPaper-89860077fa09d8c20979e6abb0fe75146c442e81.tar.gz
Paper-89860077fa09d8c20979e6abb0fe75146c442e81.zip
Clean cache on upstream update
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upstreamMerge.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/upstreamMerge.sh b/scripts/upstreamMerge.sh
index 02376dc7a2..319a71695d 100755
--- a/scripts/upstreamMerge.sh
+++ b/scripts/upstreamMerge.sh
@@ -34,6 +34,7 @@ fi
if [ "$updated" == "1" ]; then
echo "Rebuilding patches without filtering to improve apply ability"
cd "$basedir"
+ ./gradlew cleanCache || exit 1 # todo: Figure out why this is necessary
./gradlew applyPatches -Dpaperweight.debug=true || exit 1
./gradlew rebuildPatches || exit 1
fi