We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8441092 commit ebc2ec0Copy full SHA for ebc2ec0
1 file changed
build.gradle
@@ -144,17 +144,15 @@ checkstyle {
144
}
145
146
checkstyleMain {
147
- source 'src'
148
- include '**/*.java'
149
- exclude '**/gen/**'
+ source = 'src/main/java'
150
151
152
task lint(type: Checkstyle) {
153
// Cleaning the old log because of the creation of the new ones (not sure if totaly needed)
154
delete fileTree(dir: "${project.rootDir}/app/build/reports")
155
source 'src'
156
include '**/*.java'
157
+ exclude 'main/gen/**'
158
// empty classpath
159
classpath = files()
160
//Failing the build
0 commit comments