forked from williamfiset/Algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
43 lines (35 loc) · 1.23 KB
/
MODULE.bazel
File metadata and controls
43 lines (35 loc) · 1.23 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 = "algorithms",
version = "1.0.0",
)
# Java rules dependency - required for java_library, java_binary, etc.
bazel_dep(name = "rules_java", version = "9.3.0")
# Maven dependency management - for JUnit, Guava, etc.
bazel_dep(name = "rules_jvm_external", version = "6.7")
# Configure Maven dependencies
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
# JUnit 5 / Jupiter
"org.junit.jupiter:junit-jupiter:5.10.0",
"org.junit.jupiter:junit-jupiter-engine:5.10.0",
"org.junit.jupiter:junit-jupiter-params:5.10.0",
"org.junit.platform:junit-platform-launcher:1.10.0",
"org.junit.platform:junit-platform-console:1.10.0",
# JUnit 4 (for legacy tests)
"junit:junit:4.13.2",
# Apache Commons Lang
"org.apache.commons:commons-lang3:3.17.0",
# Google Guava
"com.google.guava:guava:33.4.0-jre",
# Google Truth test framework
"com.google.truth:truth:1.1.5",
# Mockito test framework
"org.mockito:mockito-core:5.14.2",
],
repositories = [
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
)
use_repo(maven, "maven")