Fix warning on mavenRepo for gradle 1.8 and above