Issue #2064 Add package for bazel_tools client_server_testAdd package without underscore or dash to each of the scala-protoc-plugins components (#2077)

Merging as there are no available agents and OSX, Linux and Windows builds have all passed
This commit is contained in:
Brian Healey 2019-07-09 15:07:23 -04:00 committed by GitHub
parent 4ff9a6b7ea
commit 3fb35b37b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 4 deletions

View File

@ -21,7 +21,7 @@ exports_files(["client_input_file"])
da_scala_binary(
name = "server",
srcs = ["server.scala"],
main_class = "Main",
main_class = "bazeltools.clientservertest.tests.Main",
deps = [
"//3rdparty/jvm/com/github/scopt",
],

View File

@ -1,6 +1,8 @@
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package bazeltools.clientservertest.tests
import java.net._
import java.io._
import scala.io._

View File

@ -1,6 +1,8 @@
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package protoc.plugins.akka
import com.google.protobuf.Descriptors.{MethodDescriptor, ServiceDescriptor}
import scalapb.compiler.FunctionalPrinter.PrinterEndo
import scalapb.compiler._

View File

@ -1,5 +1,6 @@
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package protoc.plugins.akka
import com.google.protobuf.Descriptors._
import com.google.protobuf.ExtensionRegistry

View File

@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
da_scala_binary(
name = "compiler_plugin",
srcs = glob(["*.scala"]),
main_class = "AkkaStreamCompilerPlugin",
main_class = "protoc.plugins.akka.AkkaStreamCompilerPlugin",
visibility = ["//visibility:public"],
runtime_deps = [
"@com_github_scalapb_scalapb//:scala-library",

View File

@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
da_scala_binary(
name = "compiler_plugin",
srcs = ["LoggingCompilerPlugin.scala"],
main_class = "LoggingCompilerPlugin",
main_class = "protoc.plugins.logging.LoggingCompilerPlugin",
visibility = ["//visibility:public"],
runtime_deps = [
"@com_github_scalapb_scalapb//:scala-library",

View File

@ -1,6 +1,8 @@
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package protoc.plugins.logging
import com.google.protobuf.Descriptors.{FileDescriptor, MethodDescriptor, ServiceDescriptor}
import com.google.protobuf.ExtensionRegistry
import com.google.protobuf.compiler.PluginProtos.{CodeGeneratorRequest, CodeGeneratorResponse}

View File

@ -6,7 +6,7 @@ load("//bazel_tools:scala.bzl", "da_scala_binary", "da_scala_library")
da_scala_binary(
name = "compiler_plugin",
srcs = glob(["*.scala"]),
main_class = "ScalaPbCompilerPlugin",
main_class = "protoc.plugins.scalapb.ScalaPbCompilerPlugin",
visibility = ["//visibility:public"],
runtime_deps = [
"@com_github_scalapb_scalapb//:scala-library",

View File

@ -1,6 +1,8 @@
// Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package protoc.plugins.scalapb
import scala.reflect.io.Streamable
// This file is mostly copied over from ScalaPbCodeGenerator and ProtobufGenerator