#21 Gradle Build script:  Continuous Integration fixes - Try5 - Try a different way of managing the java.awt.HeadlessException (prev commit's attempt didn't work).