tree: 2e7cc094ba734121e58e679d84d6fffd8e777dd5 [path history] [tgz]
  1. test/
  2. README.md
  3. scala.bzl
tools/build_defs/scala/README.md

Scala Rules for Bazel

Overview

This rule is used for building Scala projects with Bazel. There is currently only one rule, scala_library. More features will be added in the future, e.g. scala_binary, scala_test, etc.

scala_library

scala_library generates a .jar file from .scala source files. In order to make a java rule use this jar file, use the java_import rule.

The current implementation assumes that the files /usr/bin/scalac and /usr/share/java/scala-library.jar exist.