-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
77 lines (62 loc) · 2.34 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
workspace(name = "com_fillmore_labs_validation_benchmark")
register_toolchains("//toolchain:toolchain_java11_definition")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# ---
http_archive(
name = "rules_jvm_external",
sha256 = "2cd77de091e5376afaf9cc391c15f093ebd0105192373b334f0a855d89092ad5",
strip_prefix = "rules_jvm_external-4.2",
url = "https://github.com/bazelbuild/rules_jvm_external/archive/4.2.tar.gz",
)
load("@rules_jvm_external//:defs.bzl", "maven_install")
# ---
load("//toolchain:defs.bzl", "testonly_artifacts")
maven_install(
artifacts = [
"com.google.errorprone:error_prone_annotations:2.12.1",
"com.google.guava:guava:31.1-jre",
"jakarta.validation:jakarta.validation-api:2.0.2",
"org.checkerframework:checker-qual:3.21.4",
"org.checkerframework:checker-util:3.21.4",
"org.checkerframework:checker:3.21.4",
"org.glassfish:jakarta.el:3.0.4",
"org.hibernate.validator:hibernate-validator:6.2.3.Final",
"org.immutables:value-annotations:2.9.0",
"org.immutables:value-processor:2.9.0",
"org.openjdk.jmh:jmh-core:1.35",
"org.openjdk.jmh:jmh-generator-annprocess:1.35",
"org.ow2.asm:asm:9.3",
"org.projectlombok:lombok:1.18.22",
] + testonly_artifacts([
"com.google.truth.extensions:truth-java8-extension:1.1.3",
"com.google.truth:truth:1.1.3",
"junit:junit:4.13.2",
"nl.jqno.equalsverifier:equalsverifier:3.10",
]),
fetch_sources = True,
maven_install_json = "//:maven_install.json",
repositories = [
"https://maven-central-eu.storage-download.googleapis.com/maven2",
"https://repo1.maven.org/maven2",
],
)
load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()
# ---
maven_install(
name = "jee9",
artifacts = [
"jakarta.validation:jakarta.validation-api:3.0.1",
"org.glassfish:jakarta.el:4.0.2",
"org.hibernate.validator:hibernate-validator:7.0.4.Final",
],
fetch_sources = True,
maven_install_json = "//:jee9_install.json",
repositories = [
"https://maven-central-eu.storage-download.googleapis.com/maven2",
"https://repo1.maven.org/maven2",
],
)
load("@jee9//:defs.bzl", jee9_pinned_maven_install = "pinned_maven_install")
jee9_pinned_maven_install()
# ---