I believe this is essentially the gradle counterpart for #107.
It'd be great if the plugin can honor the existing checkstyle settings in the project gradle build files, at the minimal the checkstyle config files and checkstyle cache.
E.g., configure checkstyle once it recognizes something like the following in the project gradle.
apply plugin: 'checkstyle'
checkstyle {
configFile = file("${project.rootDir}/config/checkstyle.xml")
configProperties = [
'checkstyle.cache.file': rootProject.file('build/checkstyle.cache'),
]
}
And the android gradle variant (android builds use slightly different config)
apply plugin: 'checkstyle'
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/config/checkstyle.xml")
configProperties = [
'checkstyle.cache.file': rootProject.file('build/checkstyle.cache'),
]
// ...
}
I believe this is essentially the gradle counterpart for #107.
It'd be great if the plugin can honor the existing checkstyle settings in the project gradle build files, at the minimal the checkstyle config files and checkstyle cache.
E.g., configure checkstyle once it recognizes something like the following in the project gradle.
And the android gradle variant (android builds use slightly different config)