File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
repositories { jcenter() }
3
- dependencies {
4
- classpath ' com.netflix.nebula:gradle-rxjava-project-plugin:4.0.0'
3
+ dependencies {
4
+ classpath ' com.netflix.nebula:gradle-rxjava-project-plugin:4.0.0'
5
5
classpath ' ru.vyarus:gradle-animalsniffer-plugin:1.1.0'
6
6
}
7
7
}
@@ -13,6 +13,7 @@ description = 'RxJava: Reactive Extensions for the JVM – a library for composi
13
13
apply plugin : ' java'
14
14
// apply plugin: 'pmd'
15
15
apply plugin : ' findbugs'
16
+ apply plugin : ' checkstyle'
16
17
apply plugin : ' jacoco'
17
18
apply plugin : ' ru.vyarus.animalsniffer'
18
19
apply plugin : ' nebula.rxjava-project'
@@ -120,6 +121,10 @@ build.dependsOn jacocoTestReport
120
121
121
122
// build.dependsOn pmdPrint
122
123
124
+ checkstyle {
125
+ configFile file(' checkstyle.xml' )
126
+ }
127
+
123
128
findbugs {
124
129
ignoreFailures true
125
130
toolVersion = ' 3.0.1'
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!DOCTYPE module PUBLIC
3
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
4
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
5
+ <module name =" Checker" >
6
+ <module name =" TreeWalker" >
7
+ <module name =" RegexpSinglelineJava" >
8
+ <property name =" format" value =" ^(?!\s+\* $).*?\s+$" />
9
+ <property name =" message" value =" Line has trailing spaces." />
10
+ </module >
11
+ </module >
12
+ </module >
You can’t perform that action at this time.
0 commit comments