forked from JetBrains/bazel-bsp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMODULE.bazel
109 lines (97 loc) · 3.48 KB
/
MODULE.bazel
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
module(name = "bazel_bsp", version = "")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_kotlin", version = "1.9.0")
# Required until Bazel repo upstreams it's rules_jvm_external fix and there's a new release
bazel_bep = use_extension("//:non_module_deps.bzl", "bazel_bep")
use_repo(
bazel_bep,
"bazel_bep",
)
bazel_dep(name = "rules_java", version = "7.0.6")
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_python", version = "0.26.0")
bazel_dep(
name = "bsp-testkit2",
repo_name = "testkit",
dev_dependency = True,
)
git_override(
module_name = "bsp-testkit2",
commit = "2b733e5a8671d10546a7002f00e89da0e48a53db",
remote = "https://github.com/build-server-protocol/bsp-testkit2.git",
)
bazel_dep(
name = "rules_bazel_integration_test",
version = "0.20.0",
dev_dependency = True,
)
bazel_binaries = use_extension(
"@rules_bazel_integration_test//:extensions.bzl",
"bazel_binaries",
dev_dependency = True,
)
bazel_binaries.download(version_file = "//:.bazelversion")
bazel_binaries.download(version = "6.3.2")
bazel_binaries.download(version = "5.3.2")
use_repo(
bazel_binaries,
"bazel_binaries",
"bazel_binaries_bazelisk",
"build_bazel_bazel_.bazelversion",
"build_bazel_bazel_5_3_2",
"build_bazel_bazel_6_3_2",
)
bazel_dep(name = "rules_jvm_external", version = "5.3")
# Required until there's a new release
git_override(
module_name = "rules_jvm_external",
remote = "https://github.com/bazelbuild/rules_jvm_external.git",
commit = "679348a8da17a9f3954fb2cab10a95d5a5848c85",
)
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "maven",
artifacts = [
"com.google.code.gson:gson:2.10.1",
"com.google.guava:guava:31.0.1-jre",
"ch.epfl.scala:bsp4j:2.2.0-M1",
"commons-io:commons-io:jar:2.15.0",
"commons-cli:commons-cli:jar:1.6.0",
"org.apache.logging.log4j:log4j-api:2.22.0",
"org.apache.logging.log4j:log4j-core:2.22.0",
"org.apache.velocity:velocity-engine-core:2.3",
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3",
"org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3",
"org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0",
"org.junit.jupiter:junit-jupiter:5.10.1",
"com.fasterxml.jackson.core:jackson-databind:2.16.0",
"com.fasterxml.jackson.module:jackson-module-kotlin:2.16.0",
"com.google.protobuf:protobuf-java:3.25.1",
"io.grpc:grpc-stub:1.59.0",
"io.grpc:grpc-protobuf:1.59.0",
# tests
"org.junit.jupiter:junit-jupiter-api:5.10.1",
"org.junit.jupiter:junit-jupiter-engine:5.10.1",
"org.junit.jupiter:junit-jupiter-params:5.10.1",
"org.junit.platform:junit-platform-console:1.10.1",
"io.kotest:kotest-assertions-api-jvm:5.8.0",
"io.kotest:kotest-assertions-core-jvm:5.8.0",
"io.kotest:kotest-assertions-shared-jvm:5.8.0",
"io.kotest:kotest-common-jvm:5.8.0",
],
fetch_sources = True,
lock_file = "//:maven_install.json",
fail_if_repin_required = True,
repositories = [
"https://maven.google.com",
"https://repo.maven.apache.org/maven2",
],
)
use_repo(
maven,
"maven",
"unpinned_maven",
)