Migration to BuildTools 19.1 and gradle 1.12