Gradle 'error: package com.google.common.collect does not exist'
问题 I am following a little test script and providing it with the first piece of code to make it green. The code is java and the testing is gradle with java. Java is version "1.8.0_60" on Mac OSX "El Capitan". gradle is version 2.8. After using gradle build , here is the error shown: $ gradle build :compileJava /Users/rsalazar/exercism/java/etl/src/main/java/Etl.java:1: error: package com.google.common.collect does not exist import com.google.common.collect.ImmutableMap; ^ /Users/rsalazar