From c37308502910345483d2c0c52230b1249e01ae1f Mon Sep 17 00:00:00 2001 From: Michel Davit Date: Tue, 20 Aug 2024 17:05:52 +0200 Subject: [PATCH] Rely on provided scope in scalafix (#1024) --- scalafix/build.sbt | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/scalafix/build.sbt b/scalafix/build.sbt index 95c025ec..85d64855 100644 --- a/scalafix/build.sbt +++ b/scalafix/build.sbt @@ -52,24 +52,12 @@ def magnolify(version: String): List[ModuleID] = { "magnolify-tensorflow" ) - val libs = List( - "org.apache.avro" % "avro" % "1.11.2", - "com.google.apis" % "google-api-services-bigquery" % "v2-rev20240229-2.0.0", - "com.google.api.grpc" % "proto-google-cloud-bigtable-v2" % "2.33.0", - "org.typelevel" %% "cats-core" % "2.12.0", - "com.google.cloud.datastore" % "datastore-v1-proto-client" % "2.18.4", - "com.google.guava" % "guava" % "33.1.0-jre", - "org.neo4j.driver" % "neo4j-java-driver" % "4.4.18", - "org.apache.parquet" % "parquet-hadoop" % "1.14.1", - "com.google.protobuf" % "protobuf-java" % "3.25.3", - "eu.timepit" %% "refined" % "0.11.2", - "org.scalacheck" %% "scalacheck" % "1.17.1", - "org.tensorflow" % "tensorflow-core-api" % "0.5.0" - ) - - modules.map("com.spotify" %% _ % version) ++ libs + modules.map { name => ("com.spotify" %% name % version % "compile->compile,provided") } } +// coursied does not respect compile->compile,provided +ThisBuild / useCoursier := false + lazy val `input-0_7` = project .settings( libraryDependencies ++= magnolify("0.6.0")