Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.22 KB

sonar-android-lint-plugin

Build status

Build Status

See http://docs.codehaus.org/display/SONAR/Android+Plugin

Contributions are welcome. Join the effort !

Extension plugin for Android Lint in Sonar.

The idea is to visualize Android Lint errors directly in Sonar, in the same way as findbugs / PMD / checkstyle errors are reported.

I - Compiling and Installing the plugin:

  • Install maven
  • Clone the repository
  • Compile and test the code, then generate the jar: -> run "mvn clean install" command in your terminal
  • copy the jar (in the new generated target folder) in <path_to_your_sonar_install>/extensions/plugins folder,
  • restart sonar

II - Running an analyse:

  1. On a Maven project
  • mvn sonar:sonar -Dsonar.profile="Android Lint" in your project
  1. On another project using sonar-runner
  • Add this property to your sonar-project.properties -> sonar.profile=Android Lint