-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathMODULE.bazel
More file actions
146 lines (133 loc) · 5.49 KB
/
MODULE.bazel
File metadata and controls
146 lines (133 loc) · 5.49 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
"""
Bazel MODULE for kubernetes-client/java.
This enables building the library with Bazel in addition to Maven.
Key features:
- rules_jvm_external manages all Maven dependencies.
- contrib_rules_jvm provides java_test_suite for JUnit 5 test discovery.
- Remote-cache and disk-cache settings live in .bazelrc / .bazelrc.user.
"""
module(
name = "kubernetes_client_java",
version = "27.0.0-SNAPSHOT",
compatibility_level = 1,
)
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "rules_java", version = "7.12.2")
bazel_dep(name = "rules_jvm_external", version = "6.7")
bazel_dep(name = "contrib_rules_jvm", version = "0.27.0")
# ---------------------------------------------------------------------------
# Maven dependency management
# ---------------------------------------------------------------------------
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
# BEGIN: generated by scripts/sync_bazel_dependencies.py
# Generated from pom.xml by scripts/sync_bazel_dependencies.py.
# Do not edit this block by hand; update pom.xml and rerun the script instead.
# Artifact order follows pom.xml dependencyManagement order within each section.
maven.install(
artifacts = [
# ---- core ----
"org.apache.commons:commons-lang3:3.20.0",
"org.apache.commons:commons-collections4:4.5.0",
"org.yaml:snakeyaml:2.6",
"commons-codec:commons-codec:1.22.0",
"org.apache.commons:commons-compress:1.28.0",
"commons-io:commons-io:2.22.0",
"com.github.ben-manes.caffeine:caffeine:3.0.0",
"org.slf4j:slf4j-api:2.0.18",
"org.bouncycastle:bcpkix-jdk18on:1.84",
"org.bouncycastle:bcprov-jdk18on:1.84",
"software.amazon.awssdk:sts:2.44.8",
"software.amazon.awssdk:auth:2.44.8",
"software.amazon.awssdk:http-auth-aws:2.44.8",
"software.amazon.awssdk:http-auth-spi:2.44.8",
"software.amazon.awssdk:http-client-spi:2.44.8",
"software.amazon.awssdk:utils:2.44.8",
"com.google.protobuf:protobuf-java:4.34.1",
"org.bitbucket.b_c:jose4j:0.9.6",
"com.bucket4j:bucket4j-core:8.10.1",
"io.prometheus:simpleclient:0.16.0",
"io.prometheus:simpleclient_httpserver:0.16.0",
"com.google.code.gson:gson:2.14.0",
"com.fasterxml.jackson.core:jackson-databind:2.21.3",
"com.fasterxml.jackson.core:jackson-annotations:2.21",
"com.fasterxml.jackson.core:jackson-core:2.21.3",
"io.gsonfire:gson-fire:1.9.0",
"com.squareup.okhttp3:okhttp:5.3.2",
"com.squareup.okhttp3:logging-interceptor:5.3.2",
"io.swagger:swagger-annotations:1.6.16",
"jakarta.annotation:jakarta.annotation-api:3.0.0",
"com.google.auth:google-auth-library-oauth2-http:1.47.0",
"org.jetbrains:annotations:26.1.0",
"org.reflections:reflections:0.10.2",
"com.squareup.okhttp3:okhttp-jvm:5.3.2",
"com.squareup.okio:okio:3.16.4",
"com.squareup.okio:okio-jvm:3.16.4",
"com.flipkart.zjsonpatch:zjsonpatch:0.4.16",
# ---- spring (Java 17+ modules) ----
"org.springframework:spring-core:6.2.8",
"org.springframework:spring-aop:6.2.8",
"org.springframework:spring-beans:6.2.8",
"org.springframework:spring-context:6.2.8",
"org.springframework:spring-expression:6.2.8",
"org.springframework:spring-test:6.2.8",
# ---- test ----
"ch.qos.logback:logback-classic:1.5.32",
"ch.qos.logback:logback-core:1.5.32",
"org.junit.jupiter:junit-jupiter-api:5.13.4",
"org.junit.jupiter:junit-jupiter-engine:5.13.4",
"org.junit.jupiter:junit-jupiter-params:5.13.4",
"org.junit.platform:junit-platform-launcher:1.13.4",
"org.junit.platform:junit-platform-commons:1.13.4",
"org.junit.platform:junit-platform-engine:1.13.4",
"org.junit.platform:junit-platform-reporting:1.13.4",
"org.mockito:mockito-core:5.23.0",
"org.mockito:mockito-junit-jupiter:5.23.0",
"uk.org.webcompere:system-stubs-jupiter:2.1.8",
"uk.org.webcompere:system-stubs-core:2.1.8",
"org.wiremock:wiremock:3.13.2",
"org.assertj:assertj-core:3.27.7",
"org.awaitility:awaitility:4.3.0",
],
repositories = [
"https://repo1.maven.org/maven2",
"https://repo.spring.io/milestone",
],
fetch_sources = False,
lock_file = "//:maven_install.json",
)
# Spring Boot 4.0.6 artifacts declared with exclusions to keep
# spring-framework pinned to 6.2.8.
_SPRING_FRAMEWORK_EXCLUSIONS = [
"org.springframework:spring-core",
"org.springframework:spring-aop",
"org.springframework:spring-beans",
"org.springframework:spring-context",
"org.springframework:spring-expression",
"org.springframework:spring-test",
]
maven.artifact(
artifact = "spring-boot",
group = "org.springframework.boot",
version = "4.0.6",
exclusions = _SPRING_FRAMEWORK_EXCLUSIONS,
)
maven.artifact(
artifact = "spring-boot-autoconfigure",
group = "org.springframework.boot",
version = "4.0.6",
exclusions = _SPRING_FRAMEWORK_EXCLUSIONS,
)
maven.artifact(
artifact = "spring-boot-actuator",
group = "org.springframework.boot",
version = "4.0.6",
exclusions = _SPRING_FRAMEWORK_EXCLUSIONS,
)
maven.artifact(
artifact = "spring-boot-test",
group = "org.springframework.boot",
version = "4.0.6",
exclusions = _SPRING_FRAMEWORK_EXCLUSIONS,
)
# END: generated by scripts/sync_bazel_dependencies.py
use_repo(maven, "maven")