Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bazelbuild/rules_java
Java rules for Bazel
https://github.com/bazelbuild/rules_java
bazel bazel-rules java
Last synced: 6 days ago
JSON representation
Java rules for Bazel
- Host: GitHub
- URL: https://github.com/bazelbuild/rules_java
- Owner: bazelbuild
- License: apache-2.0
- Created: 2019-05-29T07:32:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T15:15:03.000Z (23 days ago)
- Last Synced: 2024-12-29T20:14:46.284Z (13 days ago)
- Topics: bazel, bazel-rules, java
- Language: Starlark
- Homepage:
- Size: 568 KB
- Stars: 74
- Watchers: 14
- Forks: 67
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Authors: AUTHORS
Awesome Lists containing this project
- awesome - rules_java - Java rules for Bazel (Python)
README
# rules_java
* Postsubmit [![Build status](https://badge.buildkite.com/d4f950ef5f481b8ca066624ba06c238fa1446d84a057ddbf89.svg?branch=master)](https://buildkite.com/bazel/rules-java-java)
* Postsubmit + Current Bazel Incompatible Flags [![Build status](https://badge.buildkite.com/ef265d270238c02aff65106a0b861abb9265efacdf4af399c3.svg?branch=master)](https://buildkite.com/bazel/rules-java-plus-bazelisk-migrate)Java Rules for Bazel https://bazel.build.
**Documentation**
For a quickstart tutorial, see https://bazel.build/start/java
For slightly more advanced usage, like setting up toolchains
or writing your own java-like rules,
see https://bazel.build/docs/bazel-and-java***Core Java rules***
Add a load like:
```build
load("@rules_java//java:java_library.bzl", "java_library")
```
to your `BUILD` / `BUILD.bazel` / bzl` filesFor detailed docs on the core rules, see https://bazel.build/reference/be/java