1
  1. I have added the lint plugin in my JAVA Project. But, it is showing up some warnings in build.gradle file when I am doing clean build.It is not showing any warning or error in the JAVA code. I want to ignore the code in build.gradle and want to focus on the main JAVA code. How can I ignore it?

    gradleLint.ignore {
    // my build script code that makes the linter suspicious...
    }
    

    I can ignore a piece of code using above , but how to ignore build.gradle?

  2. Moreover, while generating Lint report using generateGradleLintReport, it is not generating anything.

  3. I have the following linting rules:

    gradleLint.rules = ['dependency-parentheses', 'dependency-tuple']

    Which other rules to add so that lint gives the compilation errors.

tanmayghosh2507
  • 773
  • 3
  • 12
  • 31

0 Answers0