forked from grpc/grpc-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
43 lines (40 loc) · 1.63 KB
/
MODULE.bazel
File metadata and controls
43 lines (40 loc) · 1.63 KB
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
module(
name = "grpc_kotlin",
# Note: the Publish-to-BCR app will patch this line to stamp the version being published.
version = "0.0.0",
compatibility_level = 1,
)
bazel_dep(name = "protobuf", version = "31.1") # Max version without causing compiler errors.
bazel_dep(name = "rules_kotlin", version = "2.1.9")
bazel_dep(name = "rules_java", version = "8.15.2")
bazel_dep(name = "rules_jvm_external", version = "6.8")
bazel_dep(name = "grpc-java", version = "1.71.0")
# Formatter.
bazel_dep(name = "format", version = "0.0.0", dev_dependency = True)
local_path_override(
module_name = "format",
path = "tools/format",
)
grpc_kotlin_maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
grpc_kotlin_maven.install(
name = "grpc_kotlin_maven",
# Rerun whenever adding new artifacts.
# $ REPIN=1 bazelisk run @grpc_kotlin_maven//:pin
artifacts = [
"com.google.jimfs:jimfs:1.3.0",
"com.google.truth:truth:1.4.4",
"com.google.truth.extensions:truth-proto-extension:1.4.4",
"com.google.protobuf:protobuf-java:4.30.2",
"com.google.protobuf:protobuf-kotlin:4.30.2",
"com.google.guava:guava:33.3.1-android",
"com.squareup:kotlinpoet:1.14.2", # Max version without causing compiler errors.
"junit:junit:4.13.2",
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1",
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.10.1",
],
fetch_sources = False,
generate_compat_repositories = True,
lock_file = "//:grpc_kotlin_maven_install.json",
strict_visibility = True,
)
use_repo(grpc_kotlin_maven, "grpc_kotlin_maven")