diff --git a/gradle.properties b/gradle.properties index 59b53e444..93527857c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph mavenArtifactId = microsoft-graph-core mavenMajorVersion = 2 mavenMinorVersion = 0 -mavenPatchVersion = 1 +mavenPatchVersion = 2 mavenArtifactSuffix = #These values are used to run functional tests diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 6f0989f69..623020b5c 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -9,5 +9,5 @@ dependencies { implementation 'com.google.guava:guava:30.1.1-jre' implementation 'com.google.code.gson:gson:2.8.6' - api 'com.azure:azure-identity:1.2.5' + api 'com.azure:azure-core:1.15.0' } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 390f42d75..0dccab066 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ com.microsoft.graph microsoft-graph-core - 2.0.1 + 2.0.2 pom @@ -34,8 +34,8 @@ com.azure - azure-identity - 1.2.5 + azure-core + 1.15.0 org.junit.jupiter diff --git a/readme.md b/readme.md index fba8575a9..41f48045e 100644 --- a/readme.md +++ b/readme.md @@ -13,14 +13,16 @@ Get started with the Microsoft Graph Core SDK for Java by integrating the [Micro Add the repository and a compile dependency for `microsoft-graph-core` to your project's `build.gradle`: -```gradle +```groovy repositories { mavenCentral() } dependencies { // Include the sdk as a dependency - implementation 'com.microsoft.graph:microsoft-graph-core:2.0.1' + implementation 'com.microsoft.graph:microsoft-graph-core:2.0.2' + // This dependency is only needed if you are using the TokenCrendentialAuthProvider + implementation 'com.azure:azure-identity:1.2.5' } ``` @@ -30,9 +32,14 @@ Add the dependency in `dependencies` in pom.xml ```xml - com.microsoft.graph - microsoft-graph-core - 2.0.1 + + com.microsoft.graph + microsoft-graph-core + 2.0.2 + + com.azure + azure-identity + 1.2.5 ``` diff --git a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java index bb3f6d4aa..0d8f04962 100644 --- a/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java +++ b/src/main/java/com/microsoft/graph/httpcore/TelemetryHandler.java @@ -25,7 +25,7 @@ public class TelemetryHandler implements Interceptor{ /** * Current SDK version */ - public static final String VERSION = "v2.0.1"; + public static final String VERSION = "v2.0.2"; /** * Verion prefix */