Add dependencies for gradle build.