declare_scala_configuration(name, compiler_classpath, global_plugins, global_scalacopts, runtime_classpath, version)
Creates a ScalaConfiguration
.
name |
Name; required
A unique name for this target. |
compiler_classpath |
List of labels; required |
global_plugins |
List of labels; optional
Scalac plugins that will always be enabled. |
global_scalacopts |
List of strings; optional
Scalac options that will always be enabled. |
runtime_classpath |
List of labels; required |
version |
String; required |
declare_zinc_configuration(name, compiler_bridge)
Creates a ZincConfiguration
.
name |
Name; required
A unique name for this target. |
compiler_bridge |
Label; required |
join_configurations(name, configurations)
name |
Name; required
A unique name for this target. |
configurations |
List of labels; required |
reconfigure_deps_configuration(name, direct, provider, used)
name |
Name; required
A unique name for this target. |
direct |
String; optional |
provider |
Label; required |
used |
String; optional |
CodeCoverageConfiguration(instrumentation_worker)
Code coverage related configuration
instrumentation_worker |
the worker used for instrumenting jars |
DepsConfiguration(direct, used, worker)
Dependency checking configuration.
direct |
either error or off |
used |
either error or off |
worker |
the worker label for checking used/unused deps |
IntellijInfo(outputs, transitive_exports)
Provider for IntelliJ.
outputs |
java_output_jars |
transitive_exports |
labels of transitive dependencies |
LabeledJars(values)
Exported jars and their labels.
values |
The preorder depset of label and jars. |
ScalaConfiguration(version, compiler_classpath, runtime_classpath, global_plugins, global_scalacopts)
Scala compile-time and runtime configuration
version |
The Scala full version. |
compiler_classpath |
The compiler classpath. |
runtime_classpath |
The runtime classpath. |
global_plugins |
Globally enabled compiler plugins |
global_scalacopts |
Globally enabled compiler options |
ScalaInfo(macro, scala_configuration)
Scala library.
macro |
whether the jar contains macros |
scala_configuration |
ScalaConfiguration associated with this output |
ScalaRulePhase(phases)
A Scala compiler plugin
phases |
the phases to add |
ZincConfiguration(compiler_bridge, compile_worker, log_level)
Zinc configuration.
compiler_bridge |
compiled Zinc compiler bridge |
compile_worker |
the worker label for compilation with Zinc |
log_level |
log level for the Zinc compiler |
ZincInfo(apis, deps, deps_files, label, relations)
Zinc-specific outputs.
apis |
The API file. |
deps |
The depset of library dependency outputs. |
deps_files |
The depset of all Zinc files. |
label |
The label for this output. |
relations |
The relations file. |