From d08d2dac792c72ca0c945e33b57103d2d47f884c Mon Sep 17 00:00:00 2001 From: Brayden Banks Date: Tue, 29 Aug 2017 15:39:23 -0700 Subject: [PATCH] Gradle support for javac Based off of #745. --- ale_linters/java/javac.vim | 5 +++++ 1 file changed, 5 insertions(+) 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