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,12 +18,13 @@ 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 sometimes hangs and sometimes fails with:
22- # # "java.io.IOException: Failed to provision P2 dependencies".
21+ # # Under CI (especially CircleCI) spotlessGroovy sometimes hangs and
22+ # # sometimes fails with: "java.io.IOException: Failed to provision P2
23+ # # dependencies".
2324 # echo "Starting: ./gradlew spotlessGroovy"
2425 # ./gradlew spotlessGroovy > /dev/null 2>&1 || (echo "spotlessGroovy failed" && sleep 60 && true)
2526 # echo "Finished: ./gradlew spotlessGroovy"
26- ./gradlew spotlessCheck --warning-mode=all -x spotlessGroovy
27+ ./gradlew spotlessCheck --warning-mode=all -x spotlessGroovy -x spotlessGroovyGradle
2728fi
2829if grep -n -r --exclude-dir=build --exclude-dir=examples --exclude-dir=jtreg --exclude-dir=tests --exclude=" *.astub" --exclude=" *.tex" ' ^\(import static \|import .*\*;$\)' ; then
2930 echo " Don't use static import or wildcard import"
You can’t perform that action at this time.
0 commit comments