File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ executable jar.
127127### Rule attributes
128128
129129| Name | Type | Description |
130- | --- | --- | --- | --- |
130+ | --- | --- | --- |
131131| ` srcs ` | ` label_list ` | Kotlin source files ` *.kt ` |
132132| ` deps ` | ` label_list ` | List of ` kotlin_library ` targets |
133133| ` jars ` | ` label_list ` | List of jar provider targets (` java_library ` , ` java_import ` ) |
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments