diff options
author | Brayden Banks <bb010g@gmail.com> | 2017-08-29 15:39:23 -0700 |
---|---|---|
committer | Brayden Banks <bb010g@gmail.com> | 2017-08-29 15:39:23 -0700 |
commit | d08d2dac792c72ca0c945e33b57103d2d47f884c (patch) | |
tree | 0e9964827299a92deeb9d2615e52f4d6e0fccae9 | |
parent | 8264e265a8f01d15aa839502edcc7597bd0eb143 (diff) | |
download | ale-d08d2dac792c72ca0c945e33b57103d2d47f884c.zip |
Gradle support for javac
Based off of #745.
-rw-r--r-- | ale_linters/java/javac.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ale_linters/java/javac.vim b/ale_linters/java/javac.vim index d4566abf..d83da182 100644 --- a/ale_linters/java/javac.vim +++ b/ale_linters/java/javac.vim @@ -14,6 +14,11 @@ function! ale_linters#java#javac#GetImportPaths(buffer) abort \ . 'mvn dependency:build-classpath' endif + let l:classpath_command = ale#gradle#BuildClasspathCommand(a:buffer) + if !empty(l:classpath_command) + return l:classpath_command + endif + return '' endfunction |