support gradle 0.6.x