Skip to content

Commit f81734b

Browse files
hvadehrarules_java Copybara
authored andcommitted
Add links to documentation to the rules_java README
Fixes #80 PiperOrigin-RevId: 698344251 Change-Id: Ibb5361c9aa7013f9a1eca36e0d4cee09c5c62bd3
1 parent 349608c commit f81734b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,22 @@
44
* Postsubmit + Current Bazel Incompatible Flags [![Build status](https://badge.buildkite.com/ef265d270238c02aff65106a0b861abb9265efacdf4af399c3.svg?branch=master)](https://buildkite.com/bazel/rules-java-plus-bazelisk-migrate)
55

66
Java Rules for Bazel https://bazel.build.
7+
8+
**Documentation**
9+
10+
For a quickstart tutorial, see https://bazel.build/start/java
11+
12+
For slightly more advanced usage, like setting up toolchains
13+
or writing your own java-like rules,
14+
see https://bazel.build/docs/bazel-and-java
15+
16+
17+
***Core Java rules***
18+
19+
Add a load like:
20+
```build
21+
load("@rules_java//java:java_library.bzl", "java_library")
22+
```
23+
to your `BUILD` / `BUILD.bazel` / bzl` files
24+
25+
For detailed docs on the core rules, see https://bazel.build/reference/be/java

0 commit comments

Comments
 (0)