Changed method signatures and increase gradle version