Merge pull request #1667 from kiwix/feature/macgills/prominent-warning

Make prominent warning about JDK8
This commit is contained in:
Seán Mac Gillicuddy 2019-12-20 08:54:05 +00:00 committed by GitHub
commit 42d8a61820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,11 @@ if [ "$status" = 0 ] ; then
else
./gradlew ktlintFormat --daemon
echo 1>&2 "Static analysis found violations and attempted to autofix, please commit these autoformat changes"
echo "If the build failed for another reason please make sure JAVA_HOME is set to JDK8"
echo "
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------
If the build failed with '.../.gradle/daemon/5.6.1/custom/scr/customexample/info.json No File Found' then you do not have JAVA_HOME set to JDK8
Please make sure JAVA_HOME is set to JDK8
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------"
exit 1
fi