This repository has been archived by the owner on Dec 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
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_2021_1",
build_file = "@//build_support/external:BUILD.idea_ue",
sha256 = "fdca0791d42d044f29e6aaa32c06ada13c687ed9e95cc59b5b2fb2f83767ca97",
strip_prefix = "idea-IU-211.4961.33",
url = "https://download-cf.jetbrains.com/idea/ideaIU-211.4961.33.tar.gz",
)
# Python plugin for IntelliJ UE. Required at compile-time for python-specific features.
http_archive(
name = "python_2021_1",
build_file = "@//build_support/external:BUILD.idea_python",
sha256 = "05f8d2cf5e2833f2814eb0c11717cc9e674f504bf5e8dcbc1d81e0b330c81b8e",
url = "https://plugins.jetbrains.com/files/631/108977/python-211.4961.33.zip",
)
# Go plugin for IntelliJ UE. Required at compile-time for Bazel integration.
http_archive(
name = "go_2021_1",
build_file = "@//build_support/external:BUILD.idea_go",
sha256 = "5b130bdbfc4f15689638df8bdb7eb51e88791b2fce2f461ea78ca9ee888533b6",
url = "https://plugins.jetbrains.com/files/9568/108830/go-211.4961.30.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 = "d7fe9ec0a4ca0ceee5bbc26c6699e829762f6229981eac9f466bbd1342a55376",
url = "https://github.com/JetBrains/Grammar-Kit/releases/download/2020.3.1/grammar-kit-2020.3.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.4.2",
artifact_sha256 = "357e4bcdf9d262a054e855470c158dd54c197e414e151d7116cbacdaac895cc6",
licenses = ["notice"], # Apache 2.0
server_urls = ["https://repo.maven.apache.org/maven2"],
)
http_archive(
name = "com_google_protobuf",
sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
strip_prefix = "protobuf-3.14.0",
url = "https://github.com/protocolbuffers/protobuf/archive/v3.14.0.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",
sha256 = "2d536797707dd1697441876b2e862c58839f975c8fc2f0f96636cbd428f45866",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.23.5/rules_go-v0.23.5.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.23.5/rules_go-v0.23.5.tar.gz",
],
)
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.30.1.tar.gz"],
sha256 = "d6a10be7e803cc7ba73b3a03d34f6d18c046b562e4b08752c17aa978464baea3",
strip_prefix = "grpc-1.30.1",
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()