mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-15 10:32:42 +08:00
Feature/add ant support (#2539)
Use ant files to load Java settings too.
This commit is contained in:
1 parent
a76f056bd9
commit
c6a5cbb3c7
8 files changed
+116
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user