mirror of
https://github.com/ViaVersion/ViaAprilFools.git
synced 2024-11-15 10:35:12 +01:00
Updated maven server
This commit is contained in:
parent
77726fda96
commit
c4f7cdf77f
31
README.md
31
README.md
@ -21,11 +21,36 @@ If you just want to use ViaAprilFools yourself you can check out some projects w
|
||||
|
||||
## Releases
|
||||
### Gradle/Maven
|
||||
To use ViaAprilFools with Gradle/Maven you can use this [Maven server](https://maven.lenni0451.net/#/releases/net/raphimc/ViaAprilFools) or [Jitpack](https://jitpack.io/#RaphiMC/ViaAprilFools).
|
||||
You can also find instructions how to implement it into your build script there.
|
||||
To use ViaProxy with Gradle/Maven you can use the ViaVersion maven server:
|
||||
```groovy
|
||||
repositories {
|
||||
maven { url "https://repo.viaversion.com" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("net.raphimc:ViaAprilFools:2.0.7-SNAPSHOT") // Get latest version from releases
|
||||
}
|
||||
```
|
||||
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>viaversion</id>
|
||||
<url>https://repo.viaversion.com</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>net.raphimc</groupId>
|
||||
<artifactId>ViaAprilFools</artifactId>
|
||||
<version>2.0.7-SNAPSHOT</version> <!-- Get latest version from releases -->
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
|
||||
### Jar File
|
||||
If you just want the latest jar file you can download it from this [Jenkins](https://build.lenni0451.net/job/ViaAprilFools/).
|
||||
If you just want the latest jar file you can download it from this [Jenkins](https://ci.viaversion.com/view/All/job/ViaAprilFools/).
|
||||
|
||||
## Usage
|
||||
ViaAprilFools requires you to have an already functional ViaVersion implementation for your platform.
|
||||
|
@ -45,8 +45,8 @@ jar {
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = "reposilite"
|
||||
url = "https://maven.lenni0451.net/releases"
|
||||
name = "Via"
|
||||
url = "https://repo.viaversion.com/"
|
||||
credentials(PasswordCredentials)
|
||||
authentication {
|
||||
basic(BasicAuthentication)
|
||||
|
@ -6,4 +6,4 @@ org.gradle.configureondemand=true
|
||||
# Project properties
|
||||
maven_name=ViaAprilFools
|
||||
maven_group=net.raphimc
|
||||
maven_version=2.0.7
|
||||
maven_version=2.0.7-SNAPSHOT
|
||||
|
Loading…
Reference in New Issue
Block a user