diff --git a/readme.md b/readme.md index 8188e4736..eaf78529e 100644 --- a/readme.md +++ b/readme.md @@ -1,9 +1,6 @@ -# Microsoft Graph Core Preview SDK for Java +# Microsoft Graph Core SDK for Java -Get started with the Microsoft Graph Core SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java application! - -## Important Note about the Microsoft Graph Core Java Preview -During the preview we may make changes to the API, and other mechanisms of this library, which you will be required to take along with bug fixes or feature improvements. This may impact your application. An API change may require you to update your code. When we provide the General Availability release we will require you to update to the General Availability version within six months, as applications written using a preview version of library may no longer work. +Get started with the Microsoft Graph Core SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java and Android application! ## Samples and usage guide [Middleware usage](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki)
@@ -18,14 +15,11 @@ Add the repository and a compile dependency for `microsoft-graph-core` to your p ```gradle repository { jcenter() - jcenter{ - url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' - } } dependency { // Include the sdk as a dependency - compile('com.microsoft.graph:microsoft-graph-core:0.1.0-SNAPSHOT') + compile('com.microsoft.graph:microsoft-graph-core:1.0.0') } ``` @@ -35,34 +29,10 @@ Add the dependency in `dependencies` in pom.xml com.microsoft.graph microsoft-graph-core - 0.1.0-SNAPSHOT + 1.0.0 ``` -Add `profiles` in `project` to download Snapshot release binary: -``` - - - allow-snapshots - - true - - - - snapshots-repo - https://oss.sonatype.org/content/repositories/snapshots - - false - - - true - - - - - -``` - ### 1.3 Enable ProGuard (Android) The nature of the Graph API is such that the SDK needs quite a large set of classes to describe its functionality. You need to ensure that [ProGuard](https://developer.android.com/studio/build/shrink-code.html) is enabled on your project. Otherwise, you will incur long build times for functionality that is not necessarily relevant to your particular application. If you are still hitting the 64K method limit, you can also enable [multidexing](https://developer.android.com/studio/build/multidex.html). @@ -74,7 +44,11 @@ Register your application by following the steps at [Register your app with the ### 2.2 Create an IAuthenticationProvider object -An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `ICoreAuthenticationProvider`, which can authenticate requests to Microsoft Graph. +An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `ICoreAuthenticationProvider`, which can authenticate requests to Microsoft Graph. +### To get instance of HttpClients +Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth) + +Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth) ### 2.3 Get a HttpClients object You must get a **HttpClients** object to make requests against the service.