From f4c0189f25f3488c5702985d7b860f77883b2632 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 13 Nov 2018 18:01:21 -0800 Subject: [PATCH] Format BUILD files with buildifier Change-Id: I7eb83e0560b1826c4f8567e9bc5fbdb2ae3fe9d0 Signed-off-by: David Pursehouse --- lib/BUILD | 4 ++-- org.eclipse.jgit.ssh.apache.test/BUILD | 4 ++-- org.eclipse.jgit.test/BUILD | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/BUILD b/lib/BUILD index 047068b18..82ef4e882 100644 --- a/lib/BUILD +++ b/lib/BUILD @@ -62,9 +62,9 @@ java_library( name = "sshd-core", visibility = [ "//org.eclipse.jgit.junit:__pkg__", - "//org.eclipse.jgit.test:__pkg__", "//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__", + "//org.eclipse.jgit.test:__pkg__", ], exports = ["@sshd-core//jar"], ) @@ -73,9 +73,9 @@ java_library( name = "sshd-sftp", visibility = [ "//org.eclipse.jgit.junit:__pkg__", - "//org.eclipse.jgit.test:__pkg__", "//org.eclipse.jgit.ssh.apache:__pkg__", "//org.eclipse.jgit.ssh.apache.test:__pkg__", + "//org.eclipse.jgit.test:__pkg__", ], exports = ["@sshd-sftp//jar"], ) diff --git a/org.eclipse.jgit.ssh.apache.test/BUILD b/org.eclipse.jgit.ssh.apache.test/BUILD index 92ed4de69..3742aff06 100644 --- a/org.eclipse.jgit.ssh.apache.test/BUILD +++ b/org.eclipse.jgit.ssh.apache.test/BUILD @@ -8,11 +8,11 @@ junit_tests( srcs = glob(["tst/**/*.java"]), tags = ["sshd"], deps = [ - "//org.eclipse.jgit.test:sshd-helpers", "//lib:junit", - "//org.eclipse.jgit:jgit", "//lib:sshd-core", "//lib:sshd-sftp", + "//org.eclipse.jgit:jgit", "//org.eclipse.jgit.ssh.apache:ssh-apache", + "//org.eclipse.jgit.test:sshd-helpers", ], ) diff --git a/org.eclipse.jgit.test/BUILD b/org.eclipse.jgit.test/BUILD index 716565149..32ec91dcc 100644 --- a/org.eclipse.jgit.test/BUILD +++ b/org.eclipse.jgit.test/BUILD @@ -7,9 +7,9 @@ load( PKG = "tst/org/eclipse/jgit/" HELPERS = glob( - ["src/**/*.java"], - exclude = ["src/org/eclipse/jgit/transport/ssh/*.java"] - ) + [PKG + c for c in [ + ["src/**/*.java"], + exclude = ["src/org/eclipse/jgit/transport/ssh/*.java"], +) + [PKG + c for c in [ "api/AbstractRemoteCommandTest.java", "diff/AbstractDiffTestCase.java", "internal/storage/file/GcTestCase.java", @@ -63,16 +63,16 @@ java_library( srcs = glob(["src/org/eclipse/jgit/transport/ssh/*.java"]), resource_strip_prefix = "org.eclipse.jgit.test/resources", resources = RESOURCES, + visibility = [ + "//org.eclipse.jgit.ssh.apache.test:__pkg__", + ], deps = [ - "//lib:junit", - "//org.eclipse.jgit:jgit", - "//org.eclipse.jgit.junit:junit", "//lib:jsch", + "//lib:junit", "//lib:sshd-core", "//lib:sshd-sftp", - ], - visibility = [ - "//org.eclipse.jgit.ssh.apache.test:__pkg__", + "//org.eclipse.jgit:jgit", + "//org.eclipse.jgit.junit:junit", ], )