Merged PR 264460: Update README for AAR dependencies

Because transient dependencies are not included in AAR artifacts, you have to explicitly add them to the consuming app. Updated the README to reflect this.

Related work items: #719055
This commit is contained in:
Emily Lynam 2019-05-03 15:58:26 +00:00
Родитель efefffb1ae
Коммит 4702936092
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -79,6 +79,17 @@ dependencies {
- Follow [these instructions](https://developer.android.com/studio/projects/android-library) to build and output an AAR file from the OfficeUIFabric module, import the module to your project, and add it as a dependency. If you're having trouble generating an AAR file for the module, make sure you select it and run "Make Module 'OfficeUIFabric'" from the Build menu.
- Some components have dependencies you will need to manually add to your app if you are using this library as an AAR artifact because these dependencies do not get included in the output.
- If using **PeoplePickerView**, include this dependency in your gradle file:
```gradle
implementation 'com.splitwise:tokenautocomplete:2.0.8'
```
- If using **CalendarView** or **DateTimePickerDialog**, include this dependency in your gradle file:
```gradle
implementation 'com.jakewharton.threetenabp:threetenabp:1.1.0'
```
- Double check that these library versions correspond to the latest versions we implement in the OfficeUIFabric build.gradle.
### Import and use the library
In code: