Skip to content

Commit 03e945e

Browse files
committed
Fix plugin_opts
Details: https://goo.gl/Acr2a3.
1 parent d33ff8e commit 03e945e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlin/rules.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ def _kotlin_library_impl(ctx):
1414
args += ["-X%s" % opt for opt in ctx.attr.x_opts]
1515

1616
# Plugin options
17-
for k, v in ctx.attr.plugin_opts:
17+
for k, v in ctx.attr.plugin_opts.items():
1818
args += ["-P"]
19-
args += ["plugin:%s:%s" % (k, v)]
19+
args += ["plugin:%s=\"%s\"" % (k, v)]
2020

2121
# Make classpath if needed, first from this rules, then from
2222
# dependent rules.

0 commit comments

Comments
 (0)