Skip to content

Commit

Permalink
Remove misleading documentation about 'transitive-deps' target
Browse files Browse the repository at this point in the history
This target is not actually generated by generate_workspace.

Change-Id: Idcaa138bf56021b281138d60a06befa8c9579b1d
PiperOrigin-RevId: 160295136
  • Loading branch information
Jeremy Apthorp authored and hlopko committed Jun 28, 2017
1 parent f876fce commit 1b2e451
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions site/docs/external.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ Wrote:
```

The `WORKSPACE` file will contain the transitive dependencies of the given
projects and artifacts. The `BUILD` file will contain a single target,
`transitive-deps`, that contains all of the dependencies. You can copy these
files to your project and add `transitive-deps` as a dependency of your `java_`
targets in `BUILD` files.
projects and artifacts.

If you specify multiple Bazel projects, Maven projects, or artifacts, they will
all be combined into one `WORKSPACE` file (e.g., if the Bazel project depends on
Expand Down Expand Up @@ -193,10 +190,6 @@ all depend on javax.activation. However, two of these libraries wanted
version 1.1 and three of them wanted 1.0.2. The `WORKSPACE` file is using
version 1.1, but that might not be the right version to use.

You may also want to break `transitive-deps` into smaller targets, as it is
unlikely that all of your targets depend on the transitive closure of your
maven jars.

## Caching of external dependencies

Bazel caches external dependencies and re-downloads or updates them when
Expand Down

0 comments on commit 1b2e451

Please sign in to comment.