Feature/add ant support (#2539)

Use ant files to load Java settings too.
This commit is contained in:
Andrew Lee
2019-06-03 12:30:18 -07:00
committed by w0rp
parent a76f056bd9
commit c6a5cbb3c7
8 changed files with 116 additions and 0 deletions

View File

@@ -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