]> source.dussan.org Git - jgit.git/commitdiff
Bazel: Add fixes for --incompatible_load_java_rules_from_bzl 33/148933/7
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 5 Sep 2019 00:46:59 +0000 (09:46 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sat, 7 Sep 2019 06:36:11 +0000 (15:36 +0900)
Change-Id: I24746335db132bf20f400cb3db400737596d4542
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
16 files changed:
lib/BUILD
org.eclipse.jgit.archive/BUILD
org.eclipse.jgit.http.apache/BUILD
org.eclipse.jgit.http.server/BUILD
org.eclipse.jgit.http.test/BUILD
org.eclipse.jgit.junit.http/BUILD
org.eclipse.jgit.junit/BUILD
org.eclipse.jgit.lfs.server.test/BUILD
org.eclipse.jgit.lfs.server/BUILD
org.eclipse.jgit.lfs.test/BUILD
org.eclipse.jgit.lfs/BUILD
org.eclipse.jgit.pgm.test/BUILD
org.eclipse.jgit.pgm/BUILD
org.eclipse.jgit.test/BUILD
org.eclipse.jgit.ui/BUILD
org.eclipse.jgit/BUILD

index 1b6f1d772ba27f1f0b52f582d51c4669d1db4f49..754f64492b3255c07793d6df1242baea668b185c 100644 (file)
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 java_library(
     name = "args4j",
     visibility = [
index 8c65fc018164d153e51a3f8521180e69310ae4cc..3d7dbd21f112473bbe95da4bdd14583961608d41 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index 5ea118c732dd0ee00987fd338e083016a48411f6..81de40e0f93b6d1059f1c5060ce6ddb6468f903a 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index 9d5673b14ae072e4da9701b71a66633cf5da6ec7..f8aa44db94b040f2dc47962637e05153753f8961 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index dcffa066d03bd3292509c0bc7bf7d08ae53dd849..95ed575784c4a8c31988b87dfa000656d6d9b484 100644 (file)
@@ -1,3 +1,4 @@
+load("@rules_java//java:defs.bzl", "java_library")
 load(
     "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
     "junit_tests",
index 2a29accd1bf1b2a88ade9dbe9742e04d47f440e3..8e6a5089c863cae0ed39983dc3e2d93588386a8f 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index 74498fdf62bdcd2578fecf678a07ada7770e7544..623c5beb2dadc196c0ecfda3df9256907dc5a3a7 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index fb0d6918fde898fe56d3a655daee96e6706aa07d..9460f6f9d17329f38508ea0edb1eea6813616849 100644 (file)
@@ -1,3 +1,4 @@
+load("@rules_java//java:defs.bzl", "java_library")
 load(
     "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
     "junit_tests",
index f3b9005f940c70f890a83c0dd94c5bf91bf8af53..cd1831b8320e592acce0d053acc19b4a73c296e7 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index 213ba5794745e4e5d77986402ed5b6b335b4c16d..504e2df72e03673a8c37a11aff91a1fbd9530859 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 load(
index cd291dadb90db9502a7f3d6920a7304786957872..dbb97a157552ed5f02445ca608a1f18bc0516b7c 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index f32fa12de821de745bf17aa963f457be0aeb9bd9..5ccd45708934c362c23dcf0a3a8c31708bb07dfb 100644 (file)
@@ -1,3 +1,4 @@
+load("@rules_java//java:defs.bzl", "java_library")
 load(
     "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
     "junit_tests",
index ddc84bea068f9361158c461cc1e9179e4c154cb7..00c48d1e0cd1a61a773e2ad442fdf17d88b9d52e 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_binary", "java_import", "java_library")
+
 java_library(
     name = "pgm",
     srcs = glob(["src/**/*.java"]),
index 89bc90f384b470c72cef6bf94d0b8acc43879861..da88862bfa10d1530f16fc3cd244709f33602495 100644 (file)
@@ -1,3 +1,4 @@
+load("@rules_java//java:defs.bzl", "java_import", "java_library")
 load(":tests.bzl", "tests")
 load(
     "@com_googlesource_gerrit_bazlets//tools:genrule2.bzl",
index eec4a384dbdc3d56e3ec89df3a85999c0a4447cf..bb38992a3c1bb2db3f967d995ab2aafe81523271 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 java_library(
index 6ba7796b7e3029f33e2ab84afc684c5f425c78bd..0549b2316d32f2dc71d21f403406197393ef96a8 100644 (file)
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
 package(default_visibility = ["//visibility:public"])
 
 INSECURE_CIPHER_FACTORY = [