Skip to content

Commit

Permalink
Closes mozilla-mobile#46 - Docs for listing app dependencies for writ…
Browse files Browse the repository at this point in the history
…ing a license.
  • Loading branch information
liuche committed Aug 10, 2018
1 parent 535ab39 commit 63cfd69
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion android/android_guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Android guide
#Android guide
This guide is designed to help you get started on Android and introduce you to some intermediate topics.

- [Getting started](#getting-started)
Expand Down Expand Up @@ -31,5 +31,12 @@ If you like staying up-to-date on the latest Android topics, members of our team
Comfortable with the basics? Here are a few of our favorite resources to get started on intermediate topics.
- [Android style tips](http://blog.danlew.net/2014/11/19/styles-on-android/) (circa 2014)

### Licenses ###
When adding a new license or updating an existing one, you need a list of libraries you're using so you can include their licenses. Most dependencies are included in the `build.gradla`e file, under `<dependencies>` but to get a complete list, you can run:

`./gradlew app:dependencies > dependency-report.txt`

This will include a tree of dependencies for all your build variants - usually you only need to look at the non-test Release variant in this list.

[udacity course]: https://www.udacity.com/course/new-android-fundamentals--ud851
[devdocs]: https://developer.android.com/docs/

0 comments on commit 63cfd69

Please sign in to comment.