The Scala compiler.

Config section: [scalac]

Basic options

args

--scalac-args="[<shell_str>, <shell_str>, ...]"
PANTS_SCALAC_ARGS
default: []

Global scalac compiler flags, e.g. --scalac-args='-encoding UTF-8'.


Advanced options

plugins_global

--scalac-plugins-global="['<str>', '<str>', ...]"
PANTS_SCALAC_PLUGINS_GLOBAL
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_LOCKFILE
default: 3rdparty/jvm/global_scalac_plugins.lock

The filename of a lockfile for global plugins.


Deprecated options

global_addresses

--scalac-global="['<str>', '<str>', ...]"
PANTS_SCALAC_GLOBAL_ADDRESSES
default: []

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_LOCKFILE
default: 3rdparty/jvm/global_scalac_plugins.lockfile

Deprecated, 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.



Did this page help you?