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 binariesBUILD
- Provides information to bazel on how to build the application
Learn more about Bazel
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