gradle-syntastic-plugin
A gradle plugin for creating the .syntastic_javac_config file used by syntastic in VIM.
Using the Plugin
plugins {
id "org.gradle.java"
id "com.scuilion.syntastic" version "0.3.9"
}
Task
- syntastic - for working in vim with the syntastic syntastic checking plugin. The task will automatically get called when building (
gradle build
).
.vimrc Settings
let g:syntastic_java_checkers=['javac']
let g:syntastic_java_javac_config_file_enabled = 1
syntastic_java_javac_config_file_enabled
set syntastic to read the classpath from the .syntastic_javac_config file which is expected in the current working directory.