configure gradle for release