From 40ba12f3ac89bc166d62ac42338c2cb560c23b58 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sun, 8 Sep 2019 10:08:39 +0900 Subject: [PATCH] Bazel: Add fixes for --incompatible_load_java_rules_from_bzl Change-Id: Ifc47ae22209fdb7a5d7bede4da002640ed26a43a Signed-off-by: David Pursehouse --- org.eclipse.jgit.junit.ssh/BUILD | 2 ++ org.eclipse.jgit.ssh.apache/BUILD | 2 ++ tools/BUILD | 1 + 3 files changed, 5 insertions(+) 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", -- 2.39.5