Skip to content

"lint" task doesn't include custom rules ("Obsolete custom lint check") #13

Open
@ungesehn

Description

@ungesehn

I updated the current sample for AS3 to override the newly required "getApi()" method in the IssueRegistry.
AAR produced by the ":library" is included locally into dev project.

When running the "lint" task (e.g. lintDebug) on the project it does not include the custom rules:

Obsolete custom lint check
library-release.aar...\lint.jar: Lint found an issue registry (com.example.lint.checks.SampleIssueRegistry) > which requires a newer API level. That means that the custom lint checks are intended for a newer lint > version; please upgrade

IDE support however works fine (highlighting the word "lint" on-the-fly)

Setup:
AS 3.2 RC3 (RC2 with same result)
AGP 3.1.4
Lint 26.3.0-alpha08 (26.2.0-rc02 didn't work either)

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