|
15 | 15 |
|
16 | 16 | [  ](https://bintray.com/stoyicker-org/android-check-2/org.stoyicker.android-check/_latestVersion) |
17 | 17 |
|
18 | | -This plugin is available in [the Gradle Plugin Portal](https://plugins.gradle.org/plugin/org.stoyicker.android-check) and jCenter. It attaches itself to the `check` task if it finds it (that is, you don't use the `plugins` block and you apply either the application or library Android plugins first) - otherwise you'll need to execute the corresponding tasks manually when desired: `androidCheckstyle` for CheckStyle, `androidFindbugs` for FindBugs and `androidPmd` for PMD. |
| 18 | +This plugin is available in [the Gradle Plugin Portal](https://plugins.gradle.org/plugin/org.stoyicker.android-check) and jCenter. It attaches itself to the `check` task if it finds it (that is, you don't use the `plugins` block and you apply either the application or library Android plugins first) - otherwise you'll need to execute the corresponding tasks manually when desired: `androidCheckstyle` for CheckStyle, and `androidPmd` for PMD. |
19 | 19 |
|
20 | 20 | Configuration |
21 | 21 | ------------- |
@@ -50,22 +50,9 @@ check { |
50 | 50 | // Output file for HTML reports, default: new File(project.buildDir, 'outputs/checkstyle/checkstyle.html') |
51 | 51 | reportHTML new File(project.buildDir, 'path/where/you/want/checkstyle.html') |
52 | 52 | } |
53 | | - // FindBugs configuration |
54 | | - findbugs { |
55 | | - // Same options as Checkstyle, except for a couple of defaults: |
56 | | - |
57 | | - // Configuration file for CheckStyle, default: <project_path>/config/findbugs.xml, if non-existent then <project_path>/<module_path>/config/findbugs.xml, if non-existent then plugin/src/main/resources/findbugs/conf-default.xml |
58 | | - config 'path/to/findbugs.xml' |
59 | | - |
60 | | - // Output file for XML reports, default: new File(project.buildDir, 'outputs/findbugs/findbugs.xml') |
61 | | - reportXML new File(project.buildDir, 'path/where/you/want/findbugs.xml') |
62 | | - |
63 | | - // Output file for HTML reports, default: new File(project.buildDir, 'outputs/findbugs/findbugs.html') |
64 | | - reportHTML new File(project.buildDir, 'path/where/you/want/findbugs.html') |
65 | | - } |
66 | 53 | // PMD configuration |
67 | 54 | pmd { |
68 | | - // Same options as Checkstyle and FindBugs, except for a couple of defaults: |
| 55 | + // Same options as Checkstyle, except for a couple of defaults: |
69 | 56 |
|
70 | 57 | // Configuration file for CheckStyle, default: <project_path>/config/pmd.xml, if non-existent then <project_path>/<module_path>/config/pmd.xml, if non-existent then plugin/src/main/resources/pmd/conf-default.xml |
71 | 58 | config 'path/to/pmd.xml' |
|
0 commit comments