Skip to content

Commit e1df730

Browse files
authored
Update README.md
Added remote Maven & Gradle imports information.
1 parent 2c34426 commit e1df730

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,44 @@
1-
[![](https://jitpack.io/v/CraptiCraft-Development/ClansLite-API.svg)](https://jitpack.io/#CraptiCraft-Development/ClansLite-API)
1+
Current Version: [![](https://jitpack.io/v/CraptiCraft-Development/ClansLite-API.svg)](https://jitpack.io/#CraptiCraft-Development/ClansLite-API)
22

33
# ClansLite-API
44
The API for ClansLite.
55

66
# IMPORTANT
77
**When adding this jar to your project, remember to exclude from your plugin at build and just depend on it as the API itself is provided by the main ClansLite jar!**
8+
9+
# Adding using Maven
10+
* Repository:
11+
```
12+
<repositories>
13+
<repository>
14+
<id>jitpack.io</id>
15+
<url>https://jitpack.io</url>
16+
</repository>
17+
</repositories>
18+
```
19+
* Dependency
20+
```
21+
<dependency>
22+
<groupId>com.github.CraptiCraft-Development</groupId>
23+
<artifactId>ClansLite-API</artifactId>
24+
<version>[CURRENT-VERSION]</version>
25+
</dependency>
26+
```
27+
28+
# Adding using Gradle
29+
* build.gradle
30+
```
31+
dependencyResolutionManagement {
32+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
33+
repositories {
34+
mavenCentral()
35+
maven { url 'https://jitpack.io' }
36+
}
37+
}
38+
```
39+
* Dependency
40+
```
41+
dependencies {
42+
implementation 'com.github.CraptiCraft-Development:ClansLite-API:[CURRENT-VERSION]'
43+
}
44+
```

0 commit comments

Comments
 (0)