https://github.com/moznion/gradle-multi-project-checkstyle
A sample to enable gradle checkstyle plugin on multiple project
https://github.com/moznion/gradle-multi-project-checkstyle
Last synced: about 1 year ago
JSON representation
A sample to enable gradle checkstyle plugin on multiple project
- Host: GitHub
- URL: https://github.com/moznion/gradle-multi-project-checkstyle
- Owner: moznion
- Created: 2017-09-07T09:15:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-07T09:15:41.000Z (almost 9 years ago)
- Last Synced: 2025-06-12T14:05:25.296Z (about 1 year ago)
- Language: Java
- Size: 4.88 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gradle-multi-project-checkstyle
==
A sample to enable gradle checkstyle plugin on multiple project.
Run
--
```
$ ./gradlew clean checkstyleMain
> Task :sample-project1:checkstyleMain
[ant:checkstyle] [ERROR] /Users/moznion/.ghq/github.com/moznion/gradle-multi-project-checkstyle/sample-project1/src/main/java/net/moznion/sample/project1/Project1.java:5: Line is longer than 100 characters (found 101). [LineLength]
Checkstyle rule violations were found. See the report at: file:///Users/moznion/.ghq/github.com/moznion/gradle-multi-project-checkstyle/sample-project1/build/reports/checkstyle/main.html
> Task :sample-project2:checkstyleMain
[ant:checkstyle] [ERROR] /Users/moznion/.ghq/github.com/moznion/gradle-multi-project-checkstyle/sample-project2/src/main/java/net/moznion/sample/project2/Project2.java:0: File does not end with a newline. [NewlineAtEndOfFile]
Checkstyle rule violations were found. See the report at: file:///Users/moznion/.ghq/github.com/moznion/gradle-multi-project-checkstyle/sample-project2/build/reports/checkstyle/main.html
BUILD SUCCESSFUL in 1s
7 actionable tasks: 6 executed, 1 up-to-date
```
License
--
Public domain