Skip to content

Commit afc45d0

Browse files
author
André Behrens
committed
Update readme.md
extract documentation for gradle from readme.md and put it in the wiki
1 parent 0109670 commit afc45d0

1 file changed

Lines changed: 2 additions & 49 deletions

File tree

readme.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,8 @@ Please see the [Getting Started Guide](https://github.com/OfficeDev/ews-java-api
77
## Using the library
88
Prebuilt JARs are available in the Maven Central repository, which are easy to use with your project. Note that currently, no stable version is available yet, only snapshots in the snapshots repository.
99

10-
### Maven
11-
If you want to use a snapshot build, add the Maven Central snapshots repository to your project's `pom.xml`. If you want to use a stable build (not available yet), you should skip this step.
12-
```xml
13-
<project>
14-
<repositories>
15-
<repository>
16-
<id>sonatype-snapshots</id>
17-
<name>Sonatype OSS Snapshots</name>
18-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
19-
<releases>
20-
<enabled>false</enabled>
21-
</releases>
22-
<snapshots>
23-
<enabled>true</enabled>
24-
</snapshots>
25-
</repository>
26-
</repositories>
27-
</project>
28-
```
29-
30-
And finally, add the dependency to your project's `pom.xml`.
31-
```xml
32-
<project>
33-
<dependencies>
34-
<dependency>
35-
<groupId>com.microsoft.ews-java-api</groupId>
36-
<artifactId>ews-java-api</artifactId>
37-
<version>2.0-SNAPSHOT</version>
38-
</dependency>
39-
</dependencies>
40-
</project>
41-
```
42-
43-
### Gradle
44-
If you want to use a snapshot build, add the Maven Central snapshots repository to your project's `build.gradle`. If you want to use a stable build (not available yet), you should skip this step.
45-
```groovy
46-
repositories {
47-
maven {
48-
url 'https://oss.sonatype.org/content/repositories/snapshots/'
49-
}
50-
}
51-
```
52-
53-
And finally, add the dependency to your project's `build.gradle`.
54-
```groovy
55-
dependencies {
56-
compile 'com.microsoft.ews-java-api:ews-java-api:2.0-SNAPSHOT'
57-
}
58-
```
10+
### Maven / Gradle
11+
For Documentation on how to use _ews-java-api_ with maven or gradle please refer to [this section in our wiki](https://github.com/OfficeDev/ews-java-api/wiki#maven--gradle-integration).
5912

6013
### Building from source
6114
To build a JAR from the source yourself, please see [this page](https://github.com/OfficeDev/ews-java-api/wiki/Building-EWS-JAVA-API).

0 commit comments

Comments
 (0)