Skip to content

Commit

Permalink
Document Android SDK dependency for tests (#797)
Browse files Browse the repository at this point in the history
Tests will fail unless there is an Android SDK available on the system.
This PR documents the Android SDK requirement in the "Tests" section of
`README.md`.

See: #763
  • Loading branch information
jonshea authored Dec 6, 2022
1 parent d08b714 commit 0bca018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ signing, and the `gpg` binary needs to be installed on the machine.

Certain IPv4/IPv6 dual-stack environments may require flags to override the default settings for downloading dependencies, for both Bazel's native downloader and Coursier as a downloader:

Add:
Add:

* `startup --host_jvm_args=-Djava.net.preferIPv6Addresses=true` to your `.bazelrc` file for Bazel's native downloader.
* `-Djava.net.preferIPv6Addresses=true to the `COURSIER_OPTS` environment variable to provide JVM options for Coursier.
Expand Down Expand Up @@ -1165,6 +1165,8 @@ $ RJE_VERBOSE=true bazel run @unpinned_maven//:pin

### Tests

In order to run tests, your system must have an Android SDK installed. You can install the Android SDK using [Android Studio](https://developer.android.com/studio), or through most system package managers.

```
$ bazel test //...
```
Expand Down

0 comments on commit 0bca018

Please sign in to comment.