diff options
author | Andrew Lee <andrew.lambda@tuta.io> | 2019-06-03 12:30:18 -0700 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2019-06-03 20:30:18 +0100 |
commit | c6a5cbb3c737261bc46477733b3aa26203eb63d9 (patch) | |
tree | 1b2cc8bf9b6eefd280df998bbb48d209dcf82708 /ale_linters | |
parent | a76f056bd976a52d3d49f07726a067ac4dba2e6e (diff) | |
download | ale-c6a5cbb3c737261bc46477733b3aa26203eb63d9.zip |
Feature/add ant support (#2539)
Use ant files to load Java settings too.
Diffstat (limited to 'ale_linters')
-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 3883783b..8bb52c0b 100644 --- a/ale_linters/java/javac.vim +++ b/ale_linters/java/javac.vim @@ -21,6 +21,11 @@ function! ale_linters#java#javac#RunWithImportPaths(buffer) abort let l:command = ale#gradle#BuildClasspathCommand(a:buffer) endif + " Try to use Ant if Gradle and Maven aren't available + if empty(l:command) + let l:command = ale#ant#BuildClasspathCommand(a:buffer) + endif + if empty(l:command) return ale_linters#java#javac#GetCommand(a:buffer, [], {}) endif |