Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
r-cohen committed Apr 7, 2020
1 parent 931c992 commit 6526e2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ Copy the `unused-dep.jar` file to the root directory where the gradle wrapper (`
java -jar unused-dep.jar -gradletask :app:assembleDebug
```
Replace `:app:assembleDebug` by any gradle task used in your Android project.

### Filter out dependencies
It is possible to skip dependencies using the `-skip` flag and provide a comma seperated list of depencies to exclude for the tests. Example:
```
java -jar unused-dep.jar -gradletask :app:assembleDebug -skip com.android.support.test:runner:1.0.2,com.android.support:appcompat-v7:28.0.0
```

0 comments on commit 6526e2f

Please sign in to comment.