Skip to content

Error in subrule: file '@@rules_java~//java/common/rules:android_lint.bzl' cannot use private API #233

Description

@gottagofaster236

It is currently impossible to use rules_java >= 8.0.0 with Android.
Was broken by 2c8f7f4
Works in rules_java 7.12.1, does not work in 8.0.0

Reproduction steps:

  1. Clone https://github.com/gottagofaster236/rules_java_reproducer
  2. Run bazel build //...

Output:

ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_Lev.Leontev/7114f3e2d9f9ded26b3ceaa12ef97052/external/rules_java~/java/common/rules/android_lint.bzl", line 142, column 31, in <toplevel>
		android_lint_subrule = subrule(
Error in subrule: file '@@rules_java~//java/common/rules:android_lint.bzl' cannot use private API

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions