From 78abdf80d5ab99d6e84f2b5e2a4a6cc629fb4638 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Fri, 19 Apr 2024 12:49:39 +0200 Subject: Bumped to 0.3.15 --- bin/flycheck-android-java.py | 5 +++-- bin/flycheck-android-kotlin.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/flycheck-android-java.py b/bin/flycheck-android-java.py index 28e6415..656640e 100644 --- a/bin/flycheck-android-java.py +++ b/bin/flycheck-android-java.py @@ -98,7 +98,8 @@ def run_javac(encoding, source, target, bootcp, cp, files, output, args, command.extend(['-cp', ':'.join(cp)]) if output: command.extend(['-d', output]) - command.extend(args) + if [x for x in args if x]: + command.extend([x for x in args if x]) command.append(sourcefile) if outdir: return subprocess.call(command) @@ -162,7 +163,7 @@ def figure_out_java_compilation(sessiondir, sourcefile, tempfile, checkstyle, outdir = None if not output: - flycheck_cmd = cmd + ['-q', 'flycheckAndroidJava'] + flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidJava'] output = subprocess.check_output(flycheck_cmd, universal_newlines=True) if sessiondir != None: try: diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py index c42f5f4..b61b4be 100644 --- a/bin/flycheck-android-kotlin.py +++ b/bin/flycheck-android-kotlin.py @@ -153,7 +153,7 @@ def figure_out_kotlin_compilation(sessiondir, sourcefile, tempfile, detekt, outdir = None if not output: - flycheck_cmd = cmd + ['-q', 'flycheckAndroidKotlin'] + flycheck_cmd = cmd + ['-q', '--no-configuration-cache', 'flycheckAndroidKotlin'] output = subprocess.check_output(flycheck_cmd, universal_newlines=True) if sessiondir != None: try: -- cgit v1.2.3-70-g09d2