diff --git a/play-v27/src/main/scala/com/gu/googleauth/groups.scala b/play-v27/src/main/scala/com/gu/googleauth/groups.scala index 2374beb..a7af3a6 100644 --- a/play-v27/src/main/scala/com/gu/googleauth/groups.scala +++ b/play-v27/src/main/scala/com/gu/googleauth/groups.scala @@ -5,7 +5,7 @@ import java.security.PrivateKey import com.google.api.client.googleapis.auth.oauth2.GoogleCredential import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport import com.google.api.client.json.jackson2.JacksonFactory -import com.google.api.services.admin.directory.{Directory, DirectoryScopes} +import com.google.api.services.directory.{Directory, DirectoryScopes} import scala.collection.JavaConverters._ import scala.concurrent._ diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 890572c..646abf7 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -44,9 +44,9 @@ object Dependencies { * @see https://github.com/guardian/subscriptions-frontend/pull/363#issuecomment-186190081 */ val googleDirectoryAPI = Seq( - "com.google.apis" % "google-api-services-admin-directory" % "directory_v1-rev118-1.25.0" exclude("com.google.guava", "guava-jdk5"), - "com.google.api-client" % "google-api-client" % "1.30.10", // Required as it fixes https://github.com/googleapis/google-api-java-client/issues/1487 - "com.google.guava" % "guava" % "25.0-jre" + "com.google.apis" % "google-api-services-admin-directory" % "directory_v1-rev20191003-1.30.8" exclude("com.google.guava", "guava-jdk5"), + "com.google.api-client" % "google-api-client" % "1.31.1", // https://app.snyk.io/vuln/SNYK-JAVA-COMGOOGLEOAUTHCLIENT-575276 + "com.google.guava" % "guava" % "30.0-jre" ) }