This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
forked from jvolkman/intellij-protobuf-editor
-
Notifications
You must be signed in to change notification settings - Fork 3
/
WORKSPACE
120 lines (103 loc) · 4.52 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
workspace(name = "protoeditor")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
# The plugin api for IntelliJ UE.
http_archive(
name = "idea_ue_2020_1",
build_file = "@//build_support/external:BUILD.idea_ue",
sha256 = "5a75b7a65396c449f4394c969ede7a0e8f7c657a9b6cc309fe711eb3199e1ca1",
strip_prefix = "idea-IU-201.8538.31",
url = "https://download-cf.jetbrains.com/idea/ideaIU-2020.1.3-no-jbr.tar.gz",
)
# Python plugin for IntelliJ CE 2019.3. Required at compile-time for python-specific features.
http_archive(
name = "python_2020_1",
build_file = "@//build_support/external:BUILD.idea_python",
sha256 = "895907a3fb1bd7723a415630be7b2098dfcc53284f05ea7e3f8c27e064c08b31",
url = "https://plugins.jetbrains.com/files/631/91340/python.zip",
)
# Go plugin for IntelliJ UE. Required at compile-time for Bazel integration.
http_archive(
name = "go_2020_1",
build_file = "@//build_support/external:BUILD.idea_go",
sha256 = "df90d16313e7b06f483e9df36c20d3e911eda75eab957acd5ad121a380d8d800",
url = "https://plugins.jetbrains.com/files/9568/91477/intellij-go-201.8538.31.199.zip",
)
# jflex for IDEA
jvm_maven_import_external(
name = "idea_jflex",
artifact = "org.jetbrains.intellij.deps.jflex:jflex:1.7.0-2",
artifact_sha256 = "8a436449844a9ed4e6d371f3276f571dd116512b089ec84d478ed93ae9aa8d49",
licenses = ["notice"], # BSD
server_urls = ["https://jetbrains.bintray.com/intellij-third-party-dependencies"],
generated_rule_name = "idea_jflex_lib",
)
# jflex skeleton
http_file(
name = "idea_jflex_skeleton",
executable = 0,
urls = [
"https://raw.githubusercontent.com/JetBrains/intellij-community/843d74524f93e65227cf0321b078227fa911a7c1/tools/lexer/idea-flex.skeleton"
],
sha256 = "c6fa83affcbe6cec9c7345fbeccc6dfc6f32341ab9fdec42d7f2c3e008ae66d3",
)
http_archive(
name = "grammar_kit",
build_file = "//build_support/external:BUILD.grammar_kit",
sha256 = "9cfc31d090de5c68ff6e3fd265615168ec1d28a95984c6d96cb0ebabaab08562",
url = "https://github.com/JetBrains/Grammar-Kit/releases/download/2020.1/grammar-kit-2020.1.zip",
)
jvm_maven_import_external(
name = "truth",
artifact = "com.google.truth:truth:1.0.1",
artifact_sha256 = "1ccf4334e7a94cf00a20a619b5462b53acf3274e00b70498bf5b28a3bc1be9b1",
licenses = ["notice"], # Apache 2.0
server_urls = ["https://repo.maven.apache.org/maven2"],
)
jvm_maven_import_external(
name = "diffutils",
artifact = "com.googlecode.java-diff-utils:diffutils:1.3.0",
artifact_sha256 = "61ba4dc49adca95243beaa0569adc2a23aedb5292ae78aa01186fa782ebdc5c2",
licenses = ["notice"], # Apache 2.0
server_urls = ["https://repo.maven.apache.org/maven2"],
)
jvm_maven_import_external(
name = "mockito",
artifact = "org.mockito:mockito-core:3.3.3",
artifact_sha256 = "4be648c50456fba4686ba825000d628c1d805a3b92272ba9ad5b697dfa43036b",
licenses = ["notice"], # Apache 2.0
server_urls = ["https://repo.maven.apache.org/maven2"],
)
http_archive(
name = "com_google_protobuf",
sha256 = "a79d19dcdf9139fa4b81206e318e33d245c4c9da1ffed21c87288ed4380426f9",
strip_prefix = "protobuf-3.11.4",
url = "https://github.com/protocolbuffers/protobuf/archive/v3.11.4.tar.gz",
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
http_archive(
name = "com_google_protobuf_javalite",
sha256 = "d8b0e0ca38724ffe667c7db4803b8315690c7bb26bcf1c5b6904d0d4639495ff",
strip_prefix = "protobuf-7b64714af67aa967dcf941df61fe5207975966be",
url = "https://github.com/protocolbuffers/protobuf/archive/7b64714af67aa967dcf941df61fe5207975966be.tar.gz",
)
http_archive(
name = "io_bazel_rules_go",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.22.2/rules_go-v0.22.2.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.22.2/rules_go-v0.22.2.tar.gz",
],
sha256 = "142dd33e38b563605f0d20e89d9ef9eda0fc3cb539a14be1bdb1350de2eda659",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
http_archive(
name = "com_github_grpc_grpc",
urls = ["https://github.com/grpc/grpc/archive/v1.27.3.tar.gz"],
sha256 = "c2ab8a42a0d673c1acb596d276055adcc074c1116e427f118415da3e79e52969",
strip_prefix = "grpc-1.27.3",
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()