Skip to content

Commit 4e79fc1

Browse files
authored
Merge pull request #27 from microsoftgraph/feature/maven-snaphot-doc
- documents additional repo to add for maven
2 parents 44b39d9 + c382514 commit 4e79fc1

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,24 @@ Add the dependency in `dependencies` in pom.xml
3333

3434
```xml
3535
<dependency>
36-
<groupId>com.microsoft.graph</groupId>
37-
<artifactId>microsoft-graph-beta</artifactId>
38-
<version>0.1.0-SNAPSHOT</version>
36+
<groupId>com.microsoft.graph</groupId>
37+
<artifactId>microsoft-graph-beta</artifactId>
38+
<version>0.1.0-SNAPSHOT</version>
3939
</dependency>
4040
```
4141

42+
Add the repository in `repositories` in pom.xml
43+
44+
```xml
45+
<repository>
46+
<id>sonatype-snapshot</id>
47+
<name>Sonatype Snapshot</name>
48+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
49+
</repository>
50+
```
51+
52+
>**Note:** if the `repositories` node doesn't exist, add it in `project`. For more information about the maven repositories configuration, [refer to this documentation](https://maven.apache.org/guides/mini/guide-multiple-repositories.html).
53+
4254
### 1.3 Enable ProGuard (Android)
4355

4456
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). Checkout the [recommended rules](./docs/proguard-rules.txt).

0 commit comments

Comments
 (0)