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