-
-
Save cushon/0241dafdb608b7e2f37c475d3304aa18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class A { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class B { | |
com.test.proto.P.Message m; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proto_library( | |
name = "p_proto", | |
srcs = ["p.proto"], | |
) | |
java_proto_library( | |
name = "p_java_proto", | |
deps = [":p_proto"], | |
) | |
java_library( | |
name = "a", | |
srcs = ["A.java"], | |
deps = [":p_java_proto"], | |
) | |
java_library( | |
name = "b", | |
srcs = ["B.java"], | |
deps = [ | |
":a", | |
":p_proto", | |
], | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
option java_package = "com.test.proto"; | |
option java_outer_classname = "P"; | |
message Message { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http_archive( | |
name = "com_google_protobuf", | |
sha256 = "cef7f1b5a7c5fba672bec2a319246e8feba471f04dcebfe362d55930ee7c1c30", | |
strip_prefix = "protobuf-3.5.0", | |
urls = ["https://github.com/google/protobuf/archive/v3.5.0.zip"], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment