Skip to content

Commit 370a88c

Browse files
authored
Include kotlin_android_library in rule TOC (#33)
1 parent ce2aaad commit 370a88c

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@
99
# Kotlin Rules for Bazel
1010
[![Build Status](https://travis-ci.org/pubref/rules_kotlin.svg?branch=master)](https://travis-ci.org/pubref/rules_kotlin)
1111

12-
> Note: **These rules require Bazel 0.4.5 or higher**.
12+
Build [Kotlin][kotlin] source with with [Bazel][bazel].
1313

14-
These rules are for building [Kotlin][kotlin] source with with
15-
[Bazel][bazel].
14+
| Rule | Description |
15+
| ---: | :--- |
16+
| `kotlin_repositories` | Load workspace dependencies |
17+
| [`kotlin_library`](#kotlin_library) | Build a java library from kotlin source |
18+
| [`kotlin_binary`](#kotlin_binary) | Build a java binary from kotlin source |
19+
| [`kotlin_android_library`](#kotlin_android_library) | Build an android library from kotlin source |
20+
| [`kotlin_test`](#kotlin_test) | Run a kotlin test |
1621

17-
1. [kotlin_repositories](#kotlin_repositories)
18-
1. [kotlin_library](#kotlin_library)
19-
1. [kotlin_binary](#kotlin_binary)
20-
1. [kotlin_test](#kotlin_test)
22+
> Note: **Bazel 0.4.5 or higher is required**.
2123
2224
## Workspace rules
2325

@@ -254,7 +256,7 @@ Includes all `kotlin_library` attributes as well as:
254256
| --- | --- | --- |
255257
| `aar_deps` | `label_list` | List of AAR library targets |
256258

257-
And also [`android_library` arguments](android_library).
259+
And also [`android_library`](android_library) arguments.
258260

259261

260262
### kotlin_test
@@ -321,10 +323,9 @@ $ bazel test examples/helloworld:main_kt_test
321323
## TODO
322324

323325
1. Proper `data` and runfiles support.
324-
2. Proper android support.
325-
3. kapt support.
326-
4. Incremental compilation.
326+
2. kapt support.
327+
3. Incremental compilation.
327328

328-
[bazel]: http://www.bazel.io
329+
[bazel]: http://www.bazel.build
329330
[kotlin]: http://www.kotlinlang.org
330331
[android_library]: https://docs.bazel.build/versions/master/be/android.html#android_library_args

0 commit comments

Comments
 (0)