release: Version 3.0.0

This commit is contained in:
4drian3d 2022-08-15 21:48:26 +00:00
parent befe6e87cd
commit e2c0dafc3d
8 changed files with 17 additions and 45 deletions

View File

@ -4,13 +4,12 @@ This plugin adds the support for [Velocity](https://velocitypowered.com/) to [Au
## Requirements
- Paper, Airplane or Purpur 1.13+
- Velocity 3.1.2+
- Java 11+
- Java 17+
## Setup
1. Download the latest release of the plugin [link](https://github.com/4drian3d/AuthMeVelocity/releases)
2. Put the jar that ends with "-proxy" in Velocity's plugins folder
3. Put the jar that ends with "-spigot" in the Spigot servers that contains AuthMe
4. Start the Velocity proxy and set up the config.yml with the auth servers
2. Put the plugin in the Velocity plugins folder and on all your Auth servers that have AuthMe installed.
4. Start the Velocity proxy and set up the config.conf with the auth servers.
## Plugin API
Check the plugin API [here](https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API)

View File

@ -5,7 +5,6 @@ plugins {
java {
withSourcesJar()
withJavadocJar()
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
dependencies {
@ -13,10 +12,6 @@ dependencies {
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
(options as StandardJavadocDocletOptions).links(

View File

@ -9,15 +9,9 @@ dependencies {
java {
withSourcesJar()
withJavadocJar()
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
(options as StandardJavadocDocletOptions).links(

View File

@ -12,9 +12,16 @@ repositories {
allprojects {
apply<JavaPlugin>()
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
tasks.compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
dependencies {
@ -45,4 +52,3 @@ tasks {
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))

View File

@ -4,6 +4,7 @@ plugins {
}
repositories {
mavenCentral()
maven("https://repo.alessiodp.com/releases/")
}
@ -20,14 +21,7 @@ tasks {
relocate("org.spongepowered", "me.adrianed.authmevelocity.libs.sponge")
relocate("io.leangen.geantyref", "me.adrianed.authmevelocity.libs.geantyref")
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
blossom {
replaceTokenIn("src/main/java/me/adrianed/authmevelocity/common/Constants.java")

View File

@ -1,5 +1,5 @@
group = me.adrianed.authmevelocity
version = 3.0.0-SNAPSHOT
version = 3.0.0
description = AuthMeReloaded Support for Velocity
url = https://github.com/4drian3d/AuthMeVelocity
id = authmevelocity

View File

@ -1,5 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("net.minecrell.plugin-yml.bukkit") version "0.5.2"
id("com.github.johnrengelman.shadow") version "7.1.2"
@ -38,12 +36,5 @@ tasks {
relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby")
configurations = listOf(project.configurations.shadow.get())
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))

View File

@ -3,29 +3,23 @@ plugins {
}
repositories {
maven("https://repo.codemc.org/repository/maven-public/")
maven("https://repo.alessiodp.com/releases/")
maven("https://jitpack.io")
maven("https://repo.codemc.org/repository/maven-public/")
}
dependencies {
compileOnly(project(":authmevelocity-common"))
compileOnly(project(":authmevelocity-api-velocity"))
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
compileOnly("com.github.4drian3d:MiniPlaceholders:1.1.1")
compileOnly("com.github.games647:fastlogin.velocity:1.11-SNAPSHOT")
shadow("net.byteflux:libby-velocity:1.1.5")
shadow("org.bstats:bstats-velocity:3.0.0")
compileOnly(project(":authmevelocity-common"))
compileOnly(project(":authmevelocity-api-velocity"))
annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby")
@ -34,4 +28,3 @@ tasks {
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))