Skip to content

Commit fd6d2bb

Browse files
authored
Fix mavenRepoURL and upgrade maven minor version (#136)
* Correcting mavenRepoURL, upgrading maven minor version, updating readme to reflect latest release version. * Update readme and bump up maven version for next release.
1 parent 66e5284 commit fd6d2bb

File tree

2 files changed

+7
-30
lines changed

2 files changed

+7
-30
lines changed

README.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,43 +19,20 @@ repository {
1919
2020
dependency {
2121
// Include the sdk as a dependency
22-
compile('com.microsoft.graph:microsoft-graph:0.3.+')
22+
compile('com.microsoft.graph:microsoft-graph:1.0.+')
2323
}
2424
```
2525

2626
### 1.2 Install via Maven
27-
Add the dependency in `dependencies` and profiles in `project` in pom.xml
27+
Add the dependency in `dependencies` in pom.xml
2828
```dependency
2929
<dependency>
3030
<groupId>com.microsoft.graph</groupId>
3131
<artifactId>microsoft-graph</artifactId>
32-
<version>0.3.0-SNAPSHOT</version>
32+
<version>1.0.0</version>
3333
</dependency>
3434
```
3535

36-
```profiles
37-
<profiles>
38-
<profile>
39-
<id>allow-snapshots</id>
40-
<activation>
41-
<activeByDefault>true</activeByDefault>
42-
</activation>
43-
<repositories>
44-
<repository>
45-
<id>snapshots-repo</id>
46-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
47-
<releases>
48-
<enabled>false</enabled>
49-
</releases>
50-
<snapshots>
51-
<enabled>true</enabled>
52-
</snapshots>
53-
</repository>
54-
</repositories>
55-
</profile>
56-
</profiles>
57-
```
58-
5936
### 1.3 Enable ProGuard (Android)
6037
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).
6138

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
## linux requires 10G, OSX requires 11G
2222
org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx2g
2323

24-
mavenRepoUrl = https://api.bintray.com/maven/microsoftgraph/Maven/microsoft-graph
24+
mavenRepoUrl = https://api.bintray.com/content/microsoftgraph/Maven/microsoft-graph
2525
mavenGroupId = com.microsoft.graph
2626
mavenArtifactId = microsoft-graph
27-
mavenMajorVersion = 0
28-
mavenMinorVersion = 4
27+
mavenMajorVersion = 1
28+
mavenMinorVersion = 1
2929
mavenPatchVersion = 0
30-
mavenArtifactSuffix = -SNAPSHOT
30+
mavenArtifactSuffix =
3131
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven
3232

3333
#These values are used to run functional tests

0 commit comments

Comments
 (0)