summaryrefslogtreecommitdiff
path: root/ale_linters/java
diff options
context:
space:
mode:
authorBrayden Banks <bb010g@gmail.com>2017-08-29 15:39:23 -0700
committerBrayden Banks <bb010g@gmail.com>2017-08-29 15:39:23 -0700
commitd08d2dac792c72ca0c945e33b57103d2d47f884c (patch)
tree0e9964827299a92deeb9d2615e52f4d6e0fccae9 /ale_linters/java
parent8264e265a8f01d15aa839502edcc7597bd0eb143 (diff)
downloadale-d08d2dac792c72ca0c945e33b57103d2d47f884c.zip
Gradle support for javac
Based off of #745.
Diffstat (limited to 'ale_linters/java')
-rw-r--r--ale_linters/java/javac.vim5
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