-
Notifications
You must be signed in to change notification settings - Fork 358
/
dp_java_deps.bzl
30 lines (28 loc) · 1.25 KB
/
dp_java_deps.bzl
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
""" Dependencies for java library. """
load("@rules_jvm_external//:defs.bzl", "maven_install")
def dp_java_deps():
maven_install(
# Run `REPIN=1 bazel run @unpinned_maven//:pin` after changing dependencies.
artifacts = [
# artifacts for building and testing
"org.apache.commons:commons-math3:3.6.1",
"com.google.auto.value:auto-value-annotations:1.10.4",
"com.google.auto.value:auto-value:1.10.4",
"com.google.code.findbugs:jsr305:3.0.2",
"com.google.errorprone:error_prone_annotations:2.25.0",
"com.google.guava:guava:33.0.0-jre",
"com.google.protobuf:protobuf-java:3.25.3",
# artifacts for testing only
"org.mockito:mockito-core:5.11.0",
"junit:junit:4.13.2",
"com.google.truth:truth:1.4.2",
"com.google.truth.extensions:truth-java8-extension:1.4.2",
"com.google.testparameterinjector:test-parameter-injector:1.15",
],
repositories = [
"https://jcenter.bintray.com/",
"https://maven.google.com",
"https://repo1.maven.org/maven2",
],
maven_install_json = "@com_google_java_differential_privacy//:maven_install.json",
)