Skip to content

Commit

Permalink
Update androidx_test and android_test_support to work with Bazel inco…
Browse files Browse the repository at this point in the history
…mpatible changes around Starlark APIs

Work towards android/testing-samples#239

PiperOrigin-RevId: 229790580
  • Loading branch information
jin authored and copybara-androidxtest committed Jan 18, 2019
1 parent 1dc37bd commit 86310fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build_extensions/maven_repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 86310fb

Please sign in to comment.