Updated DataExtension API Getting started (markdown)

Risto Lahtela 2021-03-04 10:39:11 +02:00
parent 5650f7d039
commit 490e1c6364
1 changed files with 9 additions and 10 deletions

@ -39,9 +39,8 @@ At the end of this tutorial you will have
- Add the repository to your `<repositories>`-block in `pom.xml` of your project
```xml
<repository>
<id>Plan Github Packages</id>
<name>Plan repository</name>
<url>https://maven.pkg.github.com/plan-player-analytics/Plan</url>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
```
@ -50,7 +49,7 @@ At the end of this tutorial you will have
- Add the repository to your `repositories`-block in `build.gradle` of your project
```groovy
maven {
url "https://maven.pkg.github.com/plan-player-analytics/Plan"
url "https://jitpack.io"
}
```
@ -60,15 +59,15 @@ maven {
## 1.2: Add Plan API as a dependency
- Go to https://github.com/plan-player-analytics/Plan/packages/651264 and see what is the latest version number. No need to download anything.
- Go to https://github.com/plan-player-analytics/Plan/tags and see what is the latest version number. No need to download anything.
### Maven
- Add Plan API as a dependency to your `<dependencies>`-block in in `pom.xml` of your project
```xml
<dependency>
<groupId>com.djrapitops</groupId>
<artifactId>plan-api</artifactId>
<groupId>com.github.plan-player-analytics</groupId>
<artifactId>Plan</artifactId>
<version>...</version> <!-- Add the version number here -->
<scope>provided</scope>
</dependency>
@ -78,13 +77,13 @@ maven {
- Add Plan API as a compile & test compile time dependency to your `dependencies`-block in `build.gradle` of your project.
```groovy
compileOnly 'com.djrapitops:plan-api:...'
testCompileOnly 'com.djrapitops:plan-api:...'
compileOnly 'com.github.plan-player-analytics:Plan:...'
testCompileOnly 'com.github.plan-player-analytics:Plan:...'
```
### Other
- Add Plan API as a dependency in your build tool. (you can download it from here https://github.com/plan-player-analytics/Plan/packages/651264)
- Add Plan as a dependency in your build tool. (you can download it from here https://github.com/plan-player-analytics/Plan/releases)
## 1.3: Add Plan as a soft-dependency in your plugin