documented gradle bug workaround