diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2022-11-09 11:59:36 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2022-11-09 11:59:36 +0100 |
| commit | f0b82a37dffe2b94f6a3efe96e4d2af666ed509b (patch) | |
| tree | 54797e2d55167a1fd3941f4576286d658124fbf5 /bin | |
| parent | 87d22ffee216115183ab5c8d1f9070510e8a104f (diff) | |
Ignore -Xplugin= argument, I can't get kapt3 to work with the standard kotlinc
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/flycheck-android-kotlin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py index 8d0fb16..a7994c9 100644 --- a/bin/flycheck-android-kotlin.py +++ b/bin/flycheck-android-kotlin.py @@ -93,7 +93,7 @@ def run_kotlinc(cp, files, output, args, sourcefile, outdir): command.extend(['-cp', ':'.join(cp)]) if output: command.extend(['-d', output]) - command.extend(args) + command.extend([arg for arg in args if not arg.startswith('-Xplugin=')]) command.append(sourcefile) if outdir: with tempfile.NamedTemporaryFile(mode='w') as f: |
