Browse Source

Bazel: Add fixes for --incompatible_load_java_rules_from_bzl

Change-Id: I24746335db132bf20f400cb3db400737596d4542
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.1
David Pursehouse 5 years ago
parent
commit
85cea8c583
  1. 2
      lib/BUILD
  2. 2
      org.eclipse.jgit.archive/BUILD
  3. 2
      org.eclipse.jgit.http.apache/BUILD
  4. 2
      org.eclipse.jgit.http.server/BUILD
  5. 1
      org.eclipse.jgit.http.test/BUILD
  6. 2
      org.eclipse.jgit.junit.http/BUILD
  7. 2
      org.eclipse.jgit.junit/BUILD
  8. 1
      org.eclipse.jgit.lfs.server.test/BUILD
  9. 2
      org.eclipse.jgit.lfs.server/BUILD
  10. 2
      org.eclipse.jgit.lfs.test/BUILD
  11. 2
      org.eclipse.jgit.lfs/BUILD
  12. 1
      org.eclipse.jgit.pgm.test/BUILD
  13. 2
      org.eclipse.jgit.pgm/BUILD
  14. 1
      org.eclipse.jgit.test/BUILD
  15. 2
      org.eclipse.jgit.ui/BUILD
  16. 2
      org.eclipse.jgit/BUILD

2
lib/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
java_library( java_library(
name = "args4j", name = "args4j",
visibility = [ visibility = [

2
org.eclipse.jgit.archive/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

2
org.eclipse.jgit.http.apache/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

2
org.eclipse.jgit.http.server/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

1
org.eclipse.jgit.http.test/BUILD

@ -1,3 +1,4 @@
load("@rules_java//java:defs.bzl", "java_library")
load( load(
"@com_googlesource_gerrit_bazlets//tools:junit.bzl", "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
"junit_tests", "junit_tests",

2
org.eclipse.jgit.junit.http/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

2
org.eclipse.jgit.junit/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

1
org.eclipse.jgit.lfs.server.test/BUILD

@ -1,3 +1,4 @@
load("@rules_java//java:defs.bzl", "java_library")
load( load(
"@com_googlesource_gerrit_bazlets//tools:junit.bzl", "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
"junit_tests", "junit_tests",

2
org.eclipse.jgit.lfs.server/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

2
org.eclipse.jgit.lfs.test/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
load( load(

2
org.eclipse.jgit.lfs/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

1
org.eclipse.jgit.pgm.test/BUILD

@ -1,3 +1,4 @@
load("@rules_java//java:defs.bzl", "java_library")
load( load(
"@com_googlesource_gerrit_bazlets//tools:junit.bzl", "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
"junit_tests", "junit_tests",

2
org.eclipse.jgit.pgm/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_binary", "java_import", "java_library")
java_library( java_library(
name = "pgm", name = "pgm",
srcs = glob(["src/**/*.java"]), srcs = glob(["src/**/*.java"]),

1
org.eclipse.jgit.test/BUILD

@ -1,3 +1,4 @@
load("@rules_java//java:defs.bzl", "java_import", "java_library")
load(":tests.bzl", "tests") load(":tests.bzl", "tests")
load( load(
"@com_googlesource_gerrit_bazlets//tools:genrule2.bzl", "@com_googlesource_gerrit_bazlets//tools:genrule2.bzl",

2
org.eclipse.jgit.ui/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
java_library( java_library(

2
org.eclipse.jgit/BUILD

@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"]) package(default_visibility = ["//visibility:public"])
INSECURE_CIPHER_FACTORY = [ INSECURE_CIPHER_FACTORY = [

Loading…
Cancel
Save