diff --git a/build.gradle b/build.gradle index 2bdbc92de7..9a55a875b4 100644 --- a/build.gradle +++ b/build.gradle @@ -115,7 +115,8 @@ subprojects { } } else { - println "Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue." + logger.error "Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue." + throw new TaskInstantiationException("Dependant WAR file ${warFile} can not be found. Please place it in ${warFileObj.getPath()} to continue.") } }