Use gradle 2.0, support running on 1.12
Type check most of Search