summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2019-09-08 10:08:39 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2019-09-08 10:08:39 +0900
commit40ba12f3ac89bc166d62ac42338c2cb560c23b58 (patch)
tree51657c51537298c1d25cc0af736cda97b16bc36f
parent38198972d4b3ac26828867317a7daa8bdfb10f4b (diff)
downloadjgit-40ba12f3ac89bc166d62ac42338c2cb560c23b58.tar.gz
jgit-40ba12f3ac89bc166d62ac42338c2cb560c23b58.zip
Bazel: Add fixes for --incompatible_load_java_rules_from_bzl
Change-Id: Ifc47ae22209fdb7a5d7bede4da002640ed26a43a Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit.junit.ssh/BUILD2
-rw-r--r--org.eclipse.jgit.ssh.apache/BUILD2
-rw-r--r--tools/BUILD1
3 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit.ssh/BUILD b/org.eclipse.jgit.junit.ssh/BUILD
index e9a04c7173..a8b96b7fa5 100644
--- a/org.eclipse.jgit.junit.ssh/BUILD
+++ b/org.eclipse.jgit.junit.ssh/BUILD
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
package(default_visibility = ["//visibility:public"])
java_library(
diff --git a/org.eclipse.jgit.ssh.apache/BUILD b/org.eclipse.jgit.ssh.apache/BUILD
index a1a6c8e24c..42388ad9fb 100644
--- a/org.eclipse.jgit.ssh.apache/BUILD
+++ b/org.eclipse.jgit.ssh.apache/BUILD
@@ -1,3 +1,5 @@
+load("@rules_java//java:defs.bzl", "java_library")
+
package(default_visibility = ["//visibility:public"])
SRCS = glob(["src/**/*.java"])
diff --git a/tools/BUILD b/tools/BUILD
index 9025e0a6d3..f1b1536a0e 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -1,3 +1,4 @@
+load("@rules_java//java:defs.bzl", "java_package_configuration")
load(
"@bazel_tools//tools/jdk:default_java_toolchain.bzl",
"JDK9_JVM_OPTS",