treat class with only one field and that whose type is an array as array wrapper
update gradle package version