https://github.com/ryanmcdermott/guice-example
An example Java project using Bazel and Guice injections
https://github.com/ryanmcdermott/guice-example
Last synced: 5 months ago
JSON representation
An example Java project using Bazel and Guice injections
- Host: GitHub
- URL: https://github.com/ryanmcdermott/guice-example
- Owner: ryanmcdermott
- Created: 2020-07-07T04:57:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T04:59:19.000Z (almost 6 years ago)
- Last Synced: 2024-10-21T21:07:01.517Z (over 1 year ago)
- Language: Starlark
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# guice-example
## What is this?
This project is a simple starter example for a Java project that uses the [Bazel build system](https://www.bazel.build/) and Guice injections.
## Installation
First, ensure that you have [installed Bazel](https://docs.bazel.build/versions/3.2.0/install.html). Then run the following:
```
export JAVA_HOME="$(dirname $(dirname $(realpath $(which javac))))"
git clone https://github.com/ryanmcdermott/guice-example
```
## Running
### Main
```
bazel run :guice_example_bin
```