* adds checkstyle to CI * fixed gradlew path * resolved testapp checkstyle violations * added back mapboxMap variable for test * checkstyle annotations * checkstyle SDK round 1 * maps package checkstyle * rest of SDK checkstyle * checkstyle gesture library * checkstyle test * finished rest of test checkstyle * resolved all checkstyle errors * fixed class name * removed old test file * fixed camera postion test * fixed native crash
17 lines
406 B
Groovy
17 lines
406 B
Groovy
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/**'
|
|
classpath = files()
|
|
ignoreFailures = false
|
|
} |