Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 960 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 960 Bytes

scala-bazel-quick-start

Clone and run for a quick way to start a Scala project with bazel.

This is a minimal Scala application. The application needs the following files

  • WORKSPACE - Tells bazel where to find dependencies and how where to find rules to create scala libraries and binaries
  • BUILD - Provides information to bazel on how to build the application

Learn more about Bazel

To Use

To clone and run this repository you'll need Git and Bazel and JDK installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/vthurimella/scala-bazel-quick-start
# Go into the repository
cd scala-bazel-quick-start
# Build a binary
bazel build //:main_deploy.jar
# Run the app
java -jar bazel-bin/main_deploy.jar

License

CC0 1.0 (Public Domain)