Skip to content

Commit 2a30957

Browse files
Merge pull request #27 from microsoftgraph/readme
Updated readme for GA
2 parents e1dcf19 + 02f463a commit 2a30957

File tree

1 file changed

+9
-35
lines changed

1 file changed

+9
-35
lines changed

readme.md

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
# Microsoft Graph Core Preview SDK for Java
1+
# Microsoft Graph Core SDK for Java
22

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 application!
4-
5-
## Important Note about the Microsoft Graph Core Java Preview
6-
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.
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!
74

85
## Samples and usage guide
96
[Middleware usage](https://github.com/microsoftgraph/msgraph-sdk-java-core/wiki)</br>
@@ -18,14 +15,11 @@ Add the repository and a compile dependency for `microsoft-graph-core` to your p
1815
```gradle
1916
repository {
2017
jcenter()
21-
jcenter{
22-
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local'
23-
}
2418
}
2519
2620
dependency {
2721
// Include the sdk as a dependency
28-
compile('com.microsoft.graph:microsoft-graph-core:0.1.0-SNAPSHOT')
22+
compile('com.microsoft.graph:microsoft-graph-core:1.0.0')
2923
}
3024
```
3125

@@ -35,34 +29,10 @@ Add the dependency in `dependencies` in pom.xml
3529
<dependency>
3630
<groupId>com.microsoft.graph</groupId>
3731
<artifactId>microsoft-graph-core</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
32+
<version>1.0.0</version>
3933
</dependency>
4034
```
4135

42-
Add `profiles` in `project` to download Snapshot release binary:
43-
```
44-
<profiles>
45-
<profile>
46-
<id>allow-snapshots</id>
47-
<activation>
48-
<activeByDefault>true</activeByDefault>
49-
</activation>
50-
<repositories>
51-
<repository>
52-
<id>snapshots-repo</id>
53-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
54-
<releases>
55-
<enabled>false</enabled>
56-
</releases>
57-
<snapshots>
58-
<enabled>true</enabled>
59-
</snapshots>
60-
</repository>
61-
</repositories>
62-
</profile>
63-
</profiles>
64-
```
65-
6636
### 1.3 Enable ProGuard (Android)
6737
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).
6838

@@ -74,7 +44,11 @@ Register your application by following the steps at [Register your app with the
7444

7545
### 2.2 Create an IAuthenticationProvider object
7646

77-
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.
47+
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.
48+
### To get instance of HttpClients
49+
Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth)
50+
51+
Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth)
7852

7953
### 2.3 Get a HttpClients object
8054
You must get a **HttpClients** object to make requests against the service.

0 commit comments

Comments
 (0)