You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,9 @@
3
3
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!
@@ -36,6 +37,7 @@ Add the dependency in `dependencies` in pom.xml
36
37
```
37
38
38
39
### 1.3 Enable ProGuard (Android)
40
+
39
41
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).
40
42
41
43
## 2. Getting started
@@ -46,13 +48,16 @@ Register your application by following the steps at [Register your app with the
46
48
47
49
### 2.2 Create an IAuthenticationProvider object
48
50
49
-
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.
50
-
### To get instance of HttpClients
51
+
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.
52
+
53
+
### To get instance of HttpClients
54
+
51
55
Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth)
52
56
53
57
Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth)
54
58
55
59
### 2.3 Get a HttpClients object
60
+
56
61
You must get a **HttpClients** object to make requests against the service.
57
62
58
63
```java
@@ -122,7 +127,7 @@ The Microsoft Graph SDK is open for contribution. To contribute to this project,
122
127
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
123
128
124
129
## 6. Supported Java versions
125
-
The Microsoft Graph SDK for Java library is supported at runtime for Java 7+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater.
130
+
The Microsoft Graph SDK for Java library is supported at runtime for Java 8+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater through [desugaring](https://developer.android.com/studio/write/java8-support.html#library-desugaring).
0 commit comments