gradle: fix Cannot set property outputFile on null object.

see #710