Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting multiple lint files #13

Open
notsatyarth opened this issue Aug 23, 2018 · 3 comments
Open

Supporting multiple lint files #13

notsatyarth opened this issue Aug 23, 2018 · 3 comments

Comments

@notsatyarth
Copy link

Hi,

I have a large multi module project where we perform the lint analysis on a different CI step. can an option be added to parse multiple lint files instead of just 1?

@itsAlexNguyen
Copy link

You can possible a get a solution done with the following:

    Dir["*/build/reports/lint-results-debug.xml"].each do |file|
        android_lint.report_file = file
        android_lint.lint
    end

@theojalba
Copy link

theojalba commented Dec 20, 2019

Also take a look at adding android.lintOptions.checkDependencies true in your main module's Gradle file.

@aiKrice
Copy link

aiKrice commented Feb 8, 2020

Another solutions is to follow this tutorial (taken from bitrise)
https://blog.bitrise.io/automating-code-review-tasks-for-multi-module-android-projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants