From 5a62c882b9d71df77e6793442b468872ddad0810 Mon Sep 17 00:00:00 2001 From: Vladislav Dolbilov Date: Wed, 8 Apr 2020 10:26:04 +0300 Subject: [PATCH] fixes after scalapb upgrade --- scala_proto/private/scala_proto_default_repositories.bzl | 2 +- src/scala/scripts/BUILD | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scala_proto/private/scala_proto_default_repositories.bzl b/scala_proto/private/scala_proto_default_repositories.bzl index 105c62d3c..035cf9618 100644 --- a/scala_proto/private/scala_proto_default_repositories.bzl +++ b/scala_proto/private/scala_proto_default_repositories.bzl @@ -133,7 +133,7 @@ def scala_proto_default_repositories( _scala_maven_import_external( name = "scala_proto_rules_scalapb_fastparse", artifact = _scala_mvn_artifact( - "com.lihaoyi:fastparse:" + "2.1.2" if int(scala_version.split(".")[1]) < 12 else "2.1.3", + "com.lihaoyi:fastparse:" + ("2.1.2" if int(scala_version.split(".")[1]) < 12 else "2.1.3"), major_version, ), artifact_sha256 = scala_version_jar_shas["scalapb_fastparse"], diff --git a/src/scala/scripts/BUILD b/src/scala/scripts/BUILD index 89753b1e6..01d989ca7 100644 --- a/src/scala/scripts/BUILD +++ b/src/scala/scripts/BUILD @@ -37,7 +37,6 @@ scala_library( ], deps = [ ":scala_proto_request_extractor", - "//external:io_bazel_rules_scala/dependency/com_google_protobuf/protobuf_java", "//external:io_bazel_rules_scala/dependency/proto/protoc_bridge", "//external:io_bazel_rules_scala/dependency/proto/scalapb_plugin", "//external:io_bazel_rules_scala/dependency/proto/scalapbc",