Skip to content

Commit

Permalink
Revert "Add stackb:rules_proto:grpc_zio_scala_library (stackb#350)"
Browse files Browse the repository at this point in the history
This reverts commit 3b147a8.
  • Loading branch information
anshshaurya authored Jul 25, 2024
1 parent 3b147a8 commit 033c76c
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 349 deletions.
16 changes: 0 additions & 16 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,6 @@ load("@maven_akka//:defs.bzl", pinned_maven_akka_install = "pinned_maven_install

pinned_maven_akka_install()

# bazel run @maven_zio//:pin, but first comment out the "maven_install_json"
# (put it back once pinned again)
maven_install(
name = "maven_zio",
artifacts = [
"com.thesamet.scalapb.zio-grpc:zio-grpc-codegen_2.12:0.6.0",
],
fetch_sources = True,
maven_install_json = "//:maven_zio_install.json",
repositories = ["https://repo1.maven.org/maven2"],
)

load("@maven_zio//:defs.bzl", pinned_maven_zio_install = "pinned_maven_install")

pinned_maven_zio_install()

# ----------------------------------------------------
# Closure
# ----------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion language/protobuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ go_library(
"//pkg/plugin/grpc/grpcweb",
"//pkg/plugin/grpcecosystem/grpcgateway",
"//pkg/plugin/scalapb/scalapb",
"//pkg/plugin/scalapb/zio_grpc",
"//pkg/plugin/stackb/grpc_js",
"//pkg/plugin/stephenh/ts-proto",
"//pkg/rule/rules_cc",
Expand Down
1 change: 0 additions & 1 deletion language/protobuf/protobuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
_ "github.com/stackb/rules_proto/pkg/plugin/grpc/grpcweb"
_ "github.com/stackb/rules_proto/pkg/plugin/grpcecosystem/grpcgateway"
_ "github.com/stackb/rules_proto/pkg/plugin/scalapb/scalapb"
_ "github.com/stackb/rules_proto/pkg/plugin/scalapb/zio_grpc"
_ "github.com/stackb/rules_proto/pkg/plugin/stackb/grpc_js"
_ "github.com/stackb/rules_proto/pkg/plugin/bufbuild"
_ "github.com/stackb/rules_proto/pkg/plugin/stephenh/ts-proto"
Expand Down
179 changes: 0 additions & 179 deletions maven_zio_install.json

This file was deleted.

30 changes: 0 additions & 30 deletions pkg/plugin/scalapb/zio_grpc/BUILD.bazel

This file was deleted.

40 changes: 0 additions & 40 deletions pkg/plugin/scalapb/zio_grpc/protoc_gen_zio_grpc.go

This file was deleted.

41 changes: 0 additions & 41 deletions pkg/plugin/scalapb/zio_grpc/protoc_gen_zio_grpc_test.go

This file was deleted.

8 changes: 0 additions & 8 deletions pkg/rule/rules_scala/scala_library.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ import (

const (
GrpcscalaLibraryRuleName = "grpc_scala_library"
GrpcZioscalaLibraryRuleName = "grpc_zio_scala_library"
ProtoscalaLibraryRuleName = "proto_scala_library"
protoScalaLibraryRuleSuffix = "_proto_scala_library"
grpcScalaLibraryRuleSuffix = "_grpc_scala_library"
grpcZioScalaLibraryRuleSuffix = "_grpc_zio_scala_library"
scalaPbPluginOptionsPrivateKey = "_scalapb_plugin"
akkaGrpcPluginOptionsPrivateKey = "_akka_grpc_plugin"
scalapbOptionsName = "(scalapb.options)"
Expand All @@ -45,12 +43,6 @@ func init() {
ruleSuffix: grpcScalaLibraryRuleSuffix,
protoFileFilter: serviceFiles,
})
protoc.Rules().MustRegisterRule("stackb:rules_proto:"+GrpcZioscalaLibraryRuleName,
&scalaLibrary{
kindName: GrpcZioscalaLibraryRuleName,
ruleSuffix: grpcZioScalaLibraryRuleSuffix,
protoFileFilter: serviceFiles,
})
}

// scalaLibrary implements LanguageRule for the 'proto_scala_library' rule from
Expand Down
26 changes: 0 additions & 26 deletions plugin/scalapb/zio-grpc/BUILD.bazel

This file was deleted.

1 change: 0 additions & 1 deletion rules/scala/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ filegroup(
srcs = [
"BUILD.bazel",
"grpc_scala_library.bzl",
"grpc_zio_scala_library.bzl",
"proto_scala_library.bzl",
"scala_proto_library.bzl",
],
Expand Down
6 changes: 0 additions & 6 deletions rules/scala/grpc_zio_scala_library.bzl

This file was deleted.

0 comments on commit 033c76c

Please sign in to comment.