From c4f7cdf77f8ad63c43a3c0743380cebbfd8e65bc Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 28 May 2023 18:56:07 +0200 Subject: [PATCH] Updated maven server --- README.md | 31 ++++++++++++++++++++++++++++--- build.gradle | 4 ++-- gradle.properties | 2 +- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 61f40f3..0a0b881 100644 --- a/README.md +++ b/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 + + + viaversion + https://repo.viaversion.com + + + + + + net.raphimc + ViaAprilFools + 2.0.7-SNAPSHOT + + +``` ### 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. diff --git a/build.gradle b/build.gradle index 075eb60..e08f3f3 100644 --- a/build.gradle +++ b/build.gradle @@ -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) diff --git a/gradle.properties b/gradle.properties index f781cba..b6f3c88 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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