-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
96 lines (74 loc) · 3.16 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# Maven rules
RULES_JVM_EXTERNAL_TAG = "4.2"
RULES_JVM_EXTERNAL_SHA = "cd1a77b7b02e8e008439ca76fd34f5b07aecb8c752961f9640dea15e9e5ba1ca"
http_archive(
name = "rules_jvm_external",
sha256 = RULES_JVM_EXTERNAL_SHA,
strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG,
url = "https://github.com/bazelbuild/rules_jvm_external/archive/%s.zip" % RULES_JVM_EXTERNAL_TAG,
)
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
rules_jvm_external_deps()
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
rules_jvm_external_setup()
load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
artifacts = [
"com.google.protobuf:protobuf-java:3.14.0",
"org.apache.kafka:kafka-streams:2.7.0",
"org.apache.kafka:kafka-streams-test-utils:2.7.0",
"org.apache.kafka:kafka-clients:2.7.0",
"org.slf4j:slf4j-api:1.7.30",
"org.slf4j:slf4j-simple:1.7.30",
"com.google.truth:truth:1.1",
"org.junit.jupiter:junit-jupiter-api:5.5.0",
"org.junit.jupiter:junit-jupiter-engine:5.5.0",
"org.junit.jupiter:junit-jupiter-params:5.5.0",
"org.junit.platform:junit-platform-commons:1.5.0",
"org.junit.platform:junit-platform-console:1.5.0",
"org.junit.platform:junit-platform-engine:1.5.0",
"org.junit.platform:junit-platform-launcher:1.5.0",
"org.junit.platform:junit-platform-suite-api:1.5.0",
"org.apache.commons:commons-lang3:jar:3.11",
],
repositories = [
"https://jcenter.bintray.com/",
"https://repo1.maven.org/maven2",
],
)
# Proto rules
protobuf_version = "3.14.0"
http_archive(
name = "com_google_protobuf",
sha256 = "d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113",
strip_prefix = "protobuf-%s" % protobuf_version,
urls = [
"https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v%s.tar.gz" % protobuf_version,
"https://github.com/protocolbuffers/protobuf/archive/v%s.tar.gz" % protobuf_version,
],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
http_archive(
name = "rules_proto",
sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208",
strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
"https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
],
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
load(":junit5.bzl", "junit_jupiter_java_repositories", "junit_platform_java_repositories")
JUNIT_JUPITER_VERSION = "5.6.2"
JUNIT_PLATFORM_VERSION = "1.6.2"
junit_jupiter_java_repositories(
version = JUNIT_JUPITER_VERSION,
)
junit_platform_java_repositories(
version = JUNIT_PLATFORM_VERSION,
)