From cf372c259e954d50e1ac9ed215b9fbee2a74df53 Mon Sep 17 00:00:00 2001 From: Shachar Anchelovich Date: Tue, 18 Jun 2019 15:48:06 +0300 Subject: [PATCH] Bazel 027 support (#11) * replace single_file with allow_single_file * remove allow_files --- jar_jar.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jar_jar.bzl b/jar_jar.bzl index d112c7e..e3e9a2f 100644 --- a/jar_jar.bzl +++ b/jar_jar.bzl @@ -23,8 +23,8 @@ def _jar_jar_impl(ctx): jar_jar = rule( implementation = _jar_jar_impl, attrs = { - "input_jar": attr.label(allow_files=True, single_file=True), - "rules": attr.label(allow_files=True, single_file=True), + "input_jar": attr.label(allow_single_file=True), + "rules": attr.label(allow_single_file=True), "_jarjar_runner": attr.label(executable=True, cfg="host", default=Label("@com_github_johnynek_bazel_jar_jar//:jarjar_runner")), }, outputs = {