Skip to content

Commit 165ebed

Browse files
committed
Add tukaani XZ java library
Change-Id: I8789a0c31365cd473f8214596932fd044d669659
1 parent ce1c502 commit 165ebed

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

MODULE.bazel

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ maven.install(
6060
"org.mockito:mockito-core:4.5.1",
6161
"org.objenesis:objenesis:1.0",
6262
"org.tomlj:tomlj:1.1.1",
63+
"org.tukaani:xz:1.9"
6364
],
6465
fail_if_repin_required = True,
6566
repositories = [

java/com/google/copybara/remotefile/extractutil/BUILD

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ java_library(
2424
javacopts = [
2525
"-Xlint:unchecked",
2626
],
27+
runtime_deps = ["//third_party:tukaani_xz"],
2728
deps = [
2829
"//java/com/google/copybara/exception",
2930
"//java/com/google/copybara/util",

repositories.maven.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ COPYBARA_MAVEN_ARTIFACTS = [
5656
maven.artifact("org.jcommander", "jcommander", "2.0"),
5757
maven.artifact("org.jsoup", "jsoup", "1.16.1"),
5858
maven.artifact("org.tomlj", "tomlj", "1.1.0"),
59+
maven.artifact("org.tukaani", "xz", "1.9"),
5960
maven.artifact("com.sun.mail", "javax.mail", "1.5.6"),
6061
]
6162

third_party/BUILD

+7
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,13 @@ java_library(
226226
],
227227
)
228228

229+
java_library(
230+
name = "tukaani_xz",
231+
exports = [
232+
"@copybara_maven//:org_tukaani_xz",
233+
],
234+
)
235+
229236
# Required temporarily until @io_bazel//src/main/java/com/google/devtools/build/lib/syntax/...
230237
# is fixed
231238
exports_files(["bazel.patch"])

0 commit comments

Comments
 (0)