Update README.md with new repo
This commit is contained in:
parent
75c2fda749
commit
529d8a35ad
1 changed files with 43 additions and 27 deletions
56
README.md
56
README.md
|
|
@ -27,7 +27,6 @@ and provides you with handy information about them.
|
||||||
|
|
||||||
For the full description of this plugin, please refer to the ServerUtils [SpigotMC][spigot] page.
|
For the full description of this plugin, please refer to the ServerUtils [SpigotMC][spigot] page.
|
||||||
|
|
||||||
[](https://jitpack.io/#FrankHeijden/ServerUtils)
|
|
||||||
[![releaseImg]][release]
|
[![releaseImg]][release]
|
||||||
[](https://github.com/FrankHeijden/ServerUtils/actions)
|
[](https://github.com/FrankHeijden/ServerUtils/actions)
|
||||||
[![licenseImg]][license]
|
[![licenseImg]][license]
|
||||||
|
|
@ -40,38 +39,55 @@ For the full description of this plugin, please refer to the ServerUtils [Spigot
|
||||||
|
|
||||||
[![bStatsImg]][bStats]
|
[![bStatsImg]][bStats]
|
||||||
|
|
||||||
## How to run the project?
|
## Compiling ServerUtils
|
||||||
|
There are two ways to compile ServerUtils:
|
||||||
|
### 1. Installing gradle (recommended)
|
||||||
1. Make sure you have [gradle][gradleInstall] installed.
|
1. Make sure you have [gradle][gradleInstall] installed.
|
||||||
2. Run the project with `gradle clean build` to compile all submodules with dependencies.
|
2. Run the project with `gradle build` to compile it with dependencies.
|
||||||
3. Afterwards, the platform specific plugins and platform independent compiled jars can be found in the `jars/` directory.
|
### 2. Using the wrapper
|
||||||
|
**Windows**: `gradlew.bat build`
|
||||||
|
<br>
|
||||||
|
**Linux/macOS**: `./gradlew build`
|
||||||
|
|
||||||
|
## Developer API
|
||||||
|
### Repository / Dependency
|
||||||
|
If you wish to use snapshot versions of ServerUtils, you can use the following repo:
|
||||||
|
```
|
||||||
|
https://repo.fvdh.dev/snapshots
|
||||||
|
```
|
||||||
|
|
||||||
## API Repository / Dependency
|
|
||||||
Please use the following maven repository:
|
|
||||||
#### Gradle:
|
#### Gradle:
|
||||||
```groovy
|
```kotlin
|
||||||
maven { url 'https://jitpack.io' }
|
repositories {
|
||||||
```
|
compileOnly("net.frankheijden.serverutils:ServerUtils:VERSION")
|
||||||
and as dependency:
|
}
|
||||||
```groovy
|
|
||||||
// Replace VERSION with for example 2.5.0
|
dependencies {
|
||||||
compileOnly 'com.github.FrankHeijden:ServerUtils:VERSION'
|
maven("https://repo.fvdh.dev/releases")
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Maven:
|
#### Maven:
|
||||||
```xml
|
```xml
|
||||||
|
<project>
|
||||||
|
<repositories>
|
||||||
|
<!-- Insights repo -->
|
||||||
<repository>
|
<repository>
|
||||||
<id>jitpack.io</id>
|
<id>fvdh</id>
|
||||||
<url>https://jitpack.io</url>
|
<url>https://repo.fvdh.dev/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
```
|
</repositories>
|
||||||
and as dependency:
|
|
||||||
```xml
|
<dependencies>
|
||||||
|
<!-- Insights dependency -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.FrankHeijden</groupId>
|
<groupId>net.frankheijden.serverutils</groupId>
|
||||||
<artifactId>ServerUtils</artifactId>
|
<artifactId>ServerUtils</artifactId>
|
||||||
<!-- Replace VERSION with for example 2.5.0 -->
|
|
||||||
<version>VERSION</version>
|
<version>VERSION</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</project>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands and Permissions
|
## Commands and Permissions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue