Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
John Engelman committed Jan 20, 2019
1 parent 27cfe4d commit ad2b920
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/about/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ so Shadow was published there.
* [Petar Petrov](https://github.com/petarov)
* [Mark Vieira](https://github.com/mark-vieira)
* [James Nelson](https://github.com/JamesXNelson)
* [Roberto Perez Alcolea](https://github.com/rpalcolea)
1 change: 1 addition & 0 deletions src/docs/changes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v5.0.0 (2019-01-19)
* Require Gradle 5.0+
* Fix issue with build classifier `-all` being dropped in Gradle 5.1+
* [Roberto Perez Alcolea](https://github.com/rpalcolea) - Exclude project dependencies from minimization [#420](https://github.com/johnrengelman/shadow/pull/420)


## v4.0.4 (2019-01-19)
Expand Down
13 changes: 13 additions & 0 deletions src/docs/configuration/minimizing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ shadowJar {
```

> Dependencies scoped as `api` will automatically excluded from minimization and used as "entry points" on minimization.
Similar to dependencies, projects can also be excluded.

```groovy
shadowJar {
minimize {
exclude(project(":client"))
}
}
```

> When excluding a `project`, all dependencies of the excluded `project` are automatically
excluded as well.

0 comments on commit ad2b920

Please sign in to comment.