소스 검색

Bazel: Remove superfluous dependencies flagged by unused_deps

Bazel buildtools project includes in addition to buildifier also unused
deps and buildozer utilities, that detect unused dependencies and fix
them by applying the removal to the build files. This change is created
by installing unused_deps from buildtools@HEAD and running:

  $ unused_deps //...

and applying the suggested modifications.

Change-Id: Iad74ec2fa719475b29391586f40b13ae30477004
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
tags/v5.8.0.202006091008-r
David Ostrovsky 4 년 전
부모
커밋
f17cb089aa
4개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 0
    2
      org.eclipse.jgit.http.test/BUILD
  2. 0
    2
      org.eclipse.jgit.lfs.test/BUILD
  3. 0
    1
      org.eclipse.jgit.pgm.test/BUILD
  4. 1
    1
      org.eclipse.jgit.pgm/BUILD

+ 0
- 2
org.eclipse.jgit.http.test/BUILD 파일 보기

@@ -37,9 +37,7 @@ java_library(
deps = [
"//lib:junit",
"//lib:servlet-api",
"//org.eclipse.jgit.http.server:jgit-servlet",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit.http:junit-http",
"//org.eclipse.jgit.junit:junit",
],
)

+ 0
- 2
org.eclipse.jgit.lfs.test/BUILD 파일 보기

@@ -25,8 +25,6 @@ java_library(
srcs = glob(["src/**/*.java"]),
deps = [
"//lib:junit",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit:junit",
"//org.eclipse.jgit.lfs:jgit-lfs",
],
)

+ 0
- 1
org.eclipse.jgit.pgm.test/BUILD 파일 보기

@@ -21,7 +21,6 @@ junit_tests(
"//lib:slf4j-api",
"//lib:slf4j-simple",
"//lib:xz",
"//org.eclipse.jgit.archive:jgit-archive",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit:junit",
"//org.eclipse.jgit.pgm:pgm",

+ 1
- 1
org.eclipse.jgit.pgm/BUILD 파일 보기

@@ -6,8 +6,8 @@ java_library(
resource_strip_prefix = "org.eclipse.jgit.pgm/resources",
resources = glob(["resources/**"]),
visibility = ["//visibility:public"],
runtime_deps = [":services"],
deps = [
":services",
"//lib:args4j",
"//lib:commons-logging",
"//lib:httpclient",

Loading…
취소
저장