Skip to content

Commit 391fdee

Browse files
authored
Merge pull request #739 from microsoftgraph/bugfix/azure-core-dep
- updates guidance to include azure identity
2 parents 61ebf30 + 4b5bae2 commit 391fdee

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Get started with the Microsoft Graph SDK for Java by integrating the [Microsoft
1212

1313
Add the repository and a compile dependency for `microsoft-graph` to your project's `build.gradle`:
1414

15-
```gradle
15+
```groovy
1616
repositories {
1717
mavenCentral()
1818
}
@@ -21,7 +21,9 @@ dependencies {
2121
// Include the sdk as a dependency
2222
implementation 'com.microsoft.graph:microsoft-graph:3.4.0'
2323
// Uncomment the line below if you are building an android application
24-
//implementation 'com.google.guava:guava:3.4.0-android'
24+
//implementation 'com.google.guava:guava:30.1.1-android'
25+
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
26+
implementation 'com.azure:azure-identity:1.2.5'
2527
}
2628
```
2729

@@ -31,9 +33,14 @@ Add the dependency in `dependencies` in pom.xml
3133

3234
```xml
3335
<dependency>
36+
<!-- Include the sdk as a dependency -->
3437
<groupId>com.microsoft.graph</groupId>
3538
<artifactId>microsoft-graph</artifactId>
3639
<version>3.4.0</version>
40+
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
41+
<groupId>com.azure</groupId>
42+
<artifactId>azure-identity</artifactId>
43+
<version>1.2.5</version>
3744
</dependency>
3845
```
3946

0 commit comments

Comments
 (0)