Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
Merge branch 'dev' of github.com:OfficeDev/Office-365-SDK-for-Android…
Browse files Browse the repository at this point in the history
… into dev

* 'dev' of github.com:OfficeDev/Office-365-SDK-for-Android:
  Use version ranges for Gradle/Maven
  • Loading branch information
Marcos Torres committed Oct 28, 2014
2 parents fd1d72a + 7a54c56 commit d8a1a4c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ Now we'll create a simple application that retrieves messages using this SDK and
```Groovy
dependencies {
// base OData stuff:
compile group: 'com.microsoft.services', name: 'odata-engine-interfaces', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'odata-engine-java-impl', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'odata-engine-helpers', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'odata-engine-android-impl', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'odata-engine-interfaces', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'odata-engine-java-impl', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'odata-engine-helpers', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'odata-engine-android-impl', version: '(,1.0)'
// choose the services/SDKs you need:
compile group: 'com.microsoft.services', name: 'outlook-services', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'discovery-services', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'directory-services', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'file-services', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'list-services', version: '0.9.0'
compile group: 'com.microsoft.services', name: 'outlook-services', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'discovery-services', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'directory-services', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'file-services', version: '(,1.0)'
compile group: 'com.microsoft.services', name: 'list-services', version: '(,1.0)'
// ADAL
compile group: 'com.microsoft.aad', name: 'adal', version: '1.0.2' {
Expand All @@ -48,6 +48,8 @@ dependencies {
```

> NOTE: To avoid an error related to the Android support library, you might need to ensure it isn't being added redundantly by ADAL. That's why we've added the `exclude` call above.
> NOTE: The version range will include up to but not including v1.0.
2. Follow the instructions on the [README for ADAL](https://github.com/AzureAD/azure-activedirectory-library-for-android) to handle authentication, or use the [Authentication.java](https://github.com/OfficeDev/Office-365-SDK-for-Android/blob/master/samples/simple-exchange-sample/app/src/main/java/com/microsoft/simple_exchange_sample/Authentication.java) implementation in our samples.

Expand Down

0 comments on commit d8a1a4c

Please sign in to comment.