change build.gradle to use dependency plugins