Skip to content

Commit 0cfeef4

Browse files
committed
- adds link to beta sdk and lints readme
1 parent 6a327d4 commit 0cfeef4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Microsoft Graph SDK for Java
22

3-
[ ![Download](https://api.bintray.com/packages/microsoftgraph/Maven/microsoft-graph/images/download.svg) ](https://bintray.com/microsoftgraph/Maven/microsoft-graph/_latestVersion)
4-
3+
[![Download](https://api.bintray.com/packages/microsoftgraph/Maven/microsoft-graph/images/download.svg)](https://bintray.com/microsoftgraph/Maven/microsoft-graph/_latestVersion)
54

65
Get started with the Microsoft Graph SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java application!
76

7+
> **Note:** this SDK allows you to build applications using the [v1.0](https://docs.microsoft.com/en-us/graph/use-the-api#version) of Microsoft Graph. If you want to try the latest Microsoft Graph APIs under beta, use our [beta SDK](https://github.com/microsoftgraph/msgraph-beta-sdk-java) instead.
8+
89
## 1. Installation
910

1011
### 1.1 Install via Gradle
@@ -23,17 +24,19 @@ dependencies {
2324
```
2425

2526
### 1.2 Install via Maven
27+
2628
Add the dependency in `dependencies` in pom.xml
2729

2830
```xml
2931
<dependency>
30-
<groupId>com.microsoft.graph</groupId>
31-
<artifactId>microsoft-graph</artifactId>
32-
<version>2.0.0</version>
32+
<groupId>com.microsoft.graph</groupId>
33+
<artifactId>microsoft-graph</artifactId>
34+
<version>2.0.0</version>
3335
</dependency>
3436
```
3537

3638
### 1.3 Enable ProGuard (Android)
39+
3740
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).
3841

3942
## 2. Getting started
@@ -49,6 +52,7 @@ An instance of the **GraphServiceClient** class handles building requests, sendi
4952
For an example of authentication in a Java desktop client application, see the [Preview msgraph-sdk-java-auth](https://github.com/microsoftgraph/msgraph-sdk-android-msa-auth-for-android-adapter) and for an Android application see [Preview msgraph-sdk-android-auth](https://github.com/microsoftgraph/msgraph-sdk-android-auth).
5053

5154
### 2.3 Get a GraphServiceClient object
55+
5256
After you have set the correct application ID and URL, you must get a **GraphServiceClient** object to make requests against the service. The SDK stores the account information for you, but when a user signs in for the first time, it invokes the UI to get the user's account information.
5357

5458
```java
@@ -116,6 +120,7 @@ Thanks to everyone who has already devoted time to improving the library:
116120
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
117121

118122
## 7. Supported Java versions
123+
119124
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.
120125

121126
## 8. License

0 commit comments

Comments
 (0)