Skip to content

Commit ebc2ec0

Browse files
committed
add gradlew build for static analize.
1 parent 8441092 commit ebc2ec0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,17 +144,15 @@ checkstyle {
144144
}
145145

146146
checkstyleMain {
147-
source 'src'
148-
include '**/*.java'
149-
exclude '**/gen/**'
147+
source = 'src/main/java'
150148
}
151149

152150
task lint(type: Checkstyle) {
153151
// Cleaning the old log because of the creation of the new ones (not sure if totaly needed)
154152
delete fileTree(dir: "${project.rootDir}/app/build/reports")
155153
source 'src'
156154
include '**/*.java'
157-
exclude '**/gen/**'
155+
exclude 'main/gen/**'
158156
// empty classpath
159157
classpath = files()
160158
//Failing the build

0 commit comments

Comments
 (0)