summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/gradle-checkstyle.gradle
blob: fdc4399f1674756ad5fba78729d4e3184e49ebeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apply plugin: 'checkstyle'

checkstyle {
    toolVersion = "7.1.1" // 7.3
    configFile = "../checkstyle.xml" as File
}

task checkstyle(type: Checkstyle) {
    description 'Checks if the code adheres to coding standards'
    group 'verification'
    configFile file("../checkstyle.xml")
    source 'src'
    include '**/*.java'
    exclude '**/gen/**'
    exclude '**/style/*LayerTest.java'
    classpath = files()
    ignoreFailures = false
}