scalac
The Scala compiler.
Backend: ``
Config section: [scalac]
Basic options
args
--scalac-args="[<shell_str>, <shell_str>, ...]"PANTS_SCALAC_ARGSpants.toml
[scalac]
args = [
<shell_str>,
<shell_str>,
...,
]
default:
[]Global scalac compiler flags, e.g. --scalac-args='-encoding UTF-8'.
Advanced options
plugins_global
--scalac-plugins-global="['<str>', '<str>', ...]"PANTS_SCALAC_PLUGINS_GLOBALpants.toml
[scalac]
plugins_global = [
'<str>',
'<str>',
...,
]
default:
[]A list of addresses of scalac_plugin targets which should be used for compilation of all Scala targets in a build.
plugins_global_lockfile
--scalac-plugins-global-lockfile=<str>PANTS_SCALAC_PLUGINS_GLOBAL_LOCKFILEpants.toml
[scalac]
plugins_global_lockfile = <str>
default:
3rdparty/jvm/global_scalac_plugins.lockThe filename of a lockfile for global plugins.
Deprecated options
global_addresses
--scalac-global="['<str>', '<str>', ...]"PANTS_SCALAC_GLOBAL_ADDRESSESpants.toml
[scalac]
global_addresses = [
'<str>',
'<str>',
...,
]
default:
Deprecated, will be removed in version: 2.10.0.dev0.
Use `--plugins-global`, which behaves the same.
[]Deprecated, will be removed in version: 2.10.0.dev0.
Use `--plugins-global`, which behaves the same.
A list of addresses of scalac_plugin targets which should be used for compilation of all Scala targets in a build.
lockfile
--scalac-lockfile=<str>PANTS_SCALAC_LOCKFILEpants.toml
[scalac]
lockfile = <str>
default:
Deprecated, will be removed in version: 2.10.0.dev0.
Use `--plugins-global-lockfile`, which behaves the same.
3rdparty/jvm/global_scalac_plugins.lockfileDeprecated, will be removed in version: 2.10.0.dev0.
Use `--plugins-global-lockfile`, which behaves the same.
The filename of a lockfile for global plugins.
Related subsystems
None