migrate to gradle 2