Skip to content

Commit bd10064

Browse files
committed
- bumps java version in the readme and lints readme
1 parent 4e8c24f commit bd10064

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

readme.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
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!
44

55
## Samples and usage guide
6-
[Middleware usage](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki)</br>
7-
[Batching](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki/Batching)
6+
7+
- [Middleware usage](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki)
8+
- [Batching](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki/Batching)
89

910
## 1. Installation
1011

@@ -13,13 +14,13 @@ Get started with the Microsoft Graph Core SDK for Java by integrating the [Micro
1314
Add the repository and a compile dependency for `microsoft-graph-core` to your project's `build.gradle`:
1415

1516
```gradle
16-
repository {
17+
repositories {
1718
jcenter()
1819
}
1920
20-
dependency {
21+
dependencies {
2122
// Include the sdk as a dependency
22-
compile('com.microsoft.graph:microsoft-graph-core:1.0.2')
23+
implementation 'com.microsoft.graph:microsoft-graph-core:1.0.2'
2324
}
2425
```
2526

@@ -36,6 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3637
```
3738

3839
### 1.3 Enable ProGuard (Android)
40+
3941
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).
4042

4143
## 2. Getting started
@@ -46,13 +48,16 @@ Register your application by following the steps at [Register your app with the
4648

4749
### 2.2 Create an IAuthenticationProvider object
4850

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+
5155
Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth)
5256

5357
Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth)
5458

5559
### 2.3 Get a HttpClients object
60+
5661
You must get a **HttpClients** object to make requests against the service.
5762

5863
```java
@@ -122,7 +127,7 @@ The Microsoft Graph SDK is open for contribution. To contribute to this project,
122127
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!
123128

124129
## 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).
126131

127132
## 7. License
128133

0 commit comments

Comments
 (0)