fix for gradle 1.12