aboutsummaryrefslogtreecommitdiffstats
path: root/config/quality.gradle
blob: f93b4a18d606d654c9147a6e59210f88ece52cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apply plugin: 'checkstyle'

check.dependsOn 'checkstyle'

task checkstyle(type: Checkstyle) {
    configFile file("${project.rootDir}/config/quality/checkstyle/checkstyle.xml")

    source 'src/main/java'
    include 'org/connectbot/**/*.java'
    exclude '**/gen/**'

    def configProps = ['proj.module.dir': projectDir.absolutePath]
    configProperties configProps

    classpath = files()
}