Skip to content

Commit 717a84e

Browse files
authored
Merge pull request #195 from microsoftgraph/bugfix/azure-core-dep
- fixes #194 and replaces the azure identity dependency by azure core
2 parents a6a6ee9 + c6a1be1 commit 717a84e

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
2525
mavenArtifactId = microsoft-graph-core
2626
mavenMajorVersion = 2
2727
mavenMinorVersion = 0
28-
mavenPatchVersion = 1
28+
mavenPatchVersion = 2
2929
mavenArtifactSuffix =
3030

3131
#These values are used to run functional tests

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ dependencies {
99
implementation 'com.google.guava:guava:30.1.1-jre'
1010

1111
implementation 'com.google.code.gson:gson:2.8.6'
12-
api 'com.azure:azure-identity:1.2.5'
12+
api 'com.azure:azure-core:1.15.0'
1313
}

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<groupId>com.microsoft.graph</groupId>
1010
<artifactId>microsoft-graph-core</artifactId>
11-
<version>2.0.1</version>
11+
<version>2.0.2</version>
1212
<packaging>pom</packaging>
1313

1414
<properties>
@@ -34,8 +34,8 @@
3434
</dependency>
3535
<dependency>
3636
<groupId>com.azure</groupId>
37-
<artifactId>azure-identity</artifactId>
38-
<version>1.2.5</version>
37+
<artifactId>azure-core</artifactId>
38+
<version>1.15.0</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.junit.jupiter</groupId>

readme.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ Get started with the Microsoft Graph Core SDK for Java by integrating the [Micro
1313

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

16-
```gradle
16+
```groovy
1717
repositories {
1818
mavenCentral()
1919
}
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.1'
23+
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.2'
24+
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
25+
implementation 'com.azure:azure-identity:1.2.5'
2426
}
2527
```
2628

@@ -30,9 +32,14 @@ Add the dependency in `dependencies` in pom.xml
3032

3133
```xml
3234
<dependency>
33-
<groupId>com.microsoft.graph</groupId>
34-
<artifactId>microsoft-graph-core</artifactId>
35-
<version>2.0.1</version>
35+
<!-- Include the sdk as a dependency -->
36+
<groupId>com.microsoft.graph</groupId>
37+
<artifactId>microsoft-graph-core</artifactId>
38+
<version>2.0.2</version>
39+
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
40+
<groupId>com.azure</groupId>
41+
<artifactId>azure-identity</artifactId>
42+
<version>1.2.5</version>
3643
</dependency>
3744
```
3845

src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class TelemetryHandler implements Interceptor{
2525
/**
2626
* Current SDK version
2727
*/
28-
public static final String VERSION = "v2.0.1";
28+
public static final String VERSION = "v2.0.2";
2929
/**
3030
* Verion prefix
3131
*/

0 commit comments

Comments
 (0)