From 86310fb556d40835e34f5269041c1602ed2ae1ee Mon Sep 17 00:00:00 2001 From: jingwen Date: Thu, 17 Jan 2019 11:51:16 -0800 Subject: [PATCH] Update androidx_test and android_test_support to work with Bazel incompatible changes around Starlark APIs Work towards https://github.com/googlesamples/android-testing/issues/239 PiperOrigin-RevId: 229790580 --- build_extensions/maven_repo.bzl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build_extensions/maven_repo.bzl b/build_extensions/maven_repo.bzl index bec5597ab..4d552a298 100644 --- a/build_extensions/maven_repo.bzl +++ b/build_extensions/maven_repo.bzl @@ -179,18 +179,15 @@ maven_artifact = rule( attrs = { "src": attr.label( mandatory = True, - single_file = True, - allow_files = [".aar", ".jar", ".apk"], + allow_single_file = [".aar", ".jar", ".apk"], ), "src_jar": attr.label( mandatory = True, - single_file = True, - allow_files = [".jar"], + allow_single_file = [".jar"], ), "javadoc_jar": attr.label( mandatory = False, - single_file = True, - allow_files = [".jar", ".zip"], + allow_single_file = [".jar", ".zip"], ), "group_id": attr.string(mandatory = True), "artifact_id": attr.string(mandatory = True),