File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ runValidations() {
49
49
[ -n " $OFFLINE " ] && cmd=" $cmd --offline" && compile=" $compile --offline"
50
50
# remove dev-bundle and node_modules when in dev mode
51
51
[ " $mode " = dev ] && rm -rf node_modules src/main/dev-bundle
52
- # output the mvn dependency tree to the file if there is a pom.xml (useful for debugging)
53
- [ -z " $VERBOSE " -a -f pom.xml ] && runToFile " $MVN -ntp -B dependency:tree" " $file "
52
+ # output the mvn dependency tree to the file if there is a pom.xml or build.gradle (useful for debugging)
53
+ [ " $mode " = prod ] && H=" -Pproduction,it" || H=" "
54
+ [ -z " $VERBOSE " -a -f pom.xml ] && runToFile " $MVN -ntp -B dependency:tree $H " " $file "
54
55
[ -z " $VERBOSE " -a -f build.gradle ] && runToFile " $GRADLE dependencies" " $file "
55
56
56
57
# check if the app has spring or hilla dependencies in certain projects that should not have them
You can’t perform that action at this time.
0 commit comments