File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ PLUME_SCRIPTS="$SCRIPT_DIR/.plume-scripts"
1818# # Code style and formatting
1919JAVA_VER=$( java -version 2>&1 | head -1 | cut -d' "' -f2 | sed ' /^1\./s///' | cut -d' .' -f1 | sed ' s/-ea//' )
2020if [ " ${JAVA_VER} " != " 8" ] && [ " ${JAVA_VER} " != " 11" ]; then
21- # spotlessGroovy often fails with: "java.io.IOException: Failed to provision P2 dependencies"
22- echo " Starting: ./gradlew spotlessGroovy"
23- ./gradlew spotlessGroovy > /dev/null 2>&1 || (echo " spotlessGroovy failed" && sleep 60 && true)
24- ./gradlew spotlessCheck --warning-mode=all
21+ # # spotlessGroovy sometimes hangs and sometimes fails with:
22+ # # "java.io.IOException: Failed to provision P2 dependencies".
23+ # echo "Starting: ./gradlew spotlessGroovy"
24+ # ./gradlew spotlessGroovy > /dev/null 2>&1 || (echo "spotlessGroovy failed" && sleep 60 && true)
25+ # echo "Finished: ./gradlew spotlessGroovy"
26+ ./gradlew spotlessCheck --warning-mode=all -x spotlessGroovy
2527fi
2628if grep -n -r --exclude-dir=build --exclude-dir=examples --exclude-dir=jtreg --exclude-dir=tests --exclude=" *.astub" --exclude=" *.tex" ' ^\(import static \|import .*\*;$\)' ; then
2729 echo " Don't use static import or wildcard import"
You can’t perform that action at this time.
0 commit comments