Browse Source

Format BUILD files with buildifier

Change-Id: I7eb83e0560b1826c4f8567e9bc5fbdb2ae3fe9d0
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.2
David Pursehouse 6 years ago
parent
commit
f4c0189f25
  1. 4
      lib/BUILD
  2. 4
      org.eclipse.jgit.ssh.apache.test/BUILD
  3. 18
      org.eclipse.jgit.test/BUILD

4
lib/BUILD

@ -62,9 +62,9 @@ java_library(
name = "sshd-core", name = "sshd-core",
visibility = [ visibility = [
"//org.eclipse.jgit.junit:__pkg__", "//org.eclipse.jgit.junit:__pkg__",
"//org.eclipse.jgit.test:__pkg__",
"//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache:__pkg__",
"//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__",
"//org.eclipse.jgit.test:__pkg__",
], ],
exports = ["@sshd-core//jar"], exports = ["@sshd-core//jar"],
) )
@ -73,9 +73,9 @@ java_library(
name = "sshd-sftp", name = "sshd-sftp",
visibility = [ visibility = [
"//org.eclipse.jgit.junit:__pkg__", "//org.eclipse.jgit.junit:__pkg__",
"//org.eclipse.jgit.test:__pkg__",
"//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache:__pkg__",
"//org.eclipse.jgit.ssh.apache.test:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__",
"//org.eclipse.jgit.test:__pkg__",
], ],
exports = ["@sshd-sftp//jar"], exports = ["@sshd-sftp//jar"],
) )

4
org.eclipse.jgit.ssh.apache.test/BUILD

@ -8,11 +8,11 @@ junit_tests(
srcs = glob(["tst/**/*.java"]), srcs = glob(["tst/**/*.java"]),
tags = ["sshd"], tags = ["sshd"],
deps = [ deps = [
"//org.eclipse.jgit.test:sshd-helpers",
"//lib:junit", "//lib:junit",
"//org.eclipse.jgit:jgit",
"//lib:sshd-core", "//lib:sshd-core",
"//lib:sshd-sftp", "//lib:sshd-sftp",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.ssh.apache:ssh-apache", "//org.eclipse.jgit.ssh.apache:ssh-apache",
"//org.eclipse.jgit.test:sshd-helpers",
], ],
) )

18
org.eclipse.jgit.test/BUILD

@ -7,9 +7,9 @@ load(
PKG = "tst/org/eclipse/jgit/" PKG = "tst/org/eclipse/jgit/"
HELPERS = glob( HELPERS = glob(
["src/**/*.java"], ["src/**/*.java"],
exclude = ["src/org/eclipse/jgit/transport/ssh/*.java"] exclude = ["src/org/eclipse/jgit/transport/ssh/*.java"],
) + [PKG + c for c in [ ) + [PKG + c for c in [
"api/AbstractRemoteCommandTest.java", "api/AbstractRemoteCommandTest.java",
"diff/AbstractDiffTestCase.java", "diff/AbstractDiffTestCase.java",
"internal/storage/file/GcTestCase.java", "internal/storage/file/GcTestCase.java",
@ -63,16 +63,16 @@ java_library(
srcs = glob(["src/org/eclipse/jgit/transport/ssh/*.java"]), srcs = glob(["src/org/eclipse/jgit/transport/ssh/*.java"]),
resource_strip_prefix = "org.eclipse.jgit.test/resources", resource_strip_prefix = "org.eclipse.jgit.test/resources",
resources = RESOURCES, resources = RESOURCES,
visibility = [
"//org.eclipse.jgit.ssh.apache.test:__pkg__",
],
deps = [ deps = [
"//lib:junit",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit:junit",
"//lib:jsch", "//lib:jsch",
"//lib:junit",
"//lib:sshd-core", "//lib:sshd-core",
"//lib:sshd-sftp", "//lib:sshd-sftp",
], "//org.eclipse.jgit:jgit",
visibility = [ "//org.eclipse.jgit.junit:junit",
"//org.eclipse.jgit.ssh.apache.test:__pkg__",
], ],
) )

Loading…
Cancel
Save