scalac
The Scala compiler.
Backend: pants.backend.experimental.scala
Config section: [scalac]
Basic options
args
--scalac-args="[<shell_str>, <shell_str>, ...]"PANTS_SCALAC_ARGSpants.toml
[scalac]
args = [
<shell_str>,
<shell_str>,
...,
]
default:
[]Arguments to pass directly to scalac, e.g. --scalac-args='-encoding UTF-8'.
plugins_for_resolve
--scalac-plugins-for-resolve="{'key1': val1, 'key2': val2, ...}"PANTS_SCALAC_PLUGINS_FOR_RESOLVEpants.toml
[scalac.plugins_for_resolve]
key1 = val1
key2 = val2
...
default:
{}A dictionary, whose keys are the names of each JVM resolve that requires default scalac plugins, and the value is a comma-separated string consisting of scalac plugin names. Each specified plugin must have a corresponding scalac_plugin target that specifies that name in either its plugin_name field or is the same as its target name.
Advanced options
None
Deprecated options
None
Related subsystems
None