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 ## Requirements
- Paper, Airplane or Purpur 1.13+ - Paper, Airplane or Purpur 1.13+
- Velocity 3.1.2+ - Velocity 3.1.2+
- Java 11+ - Java 17+
## Setup ## Setup
1. Download the latest release of the plugin [link](https://github.com/4drian3d/AuthMeVelocity/releases) 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 2. Put the plugin in the Velocity plugins folder and on all your Auth servers that have AuthMe installed.
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.conf with the auth servers.
4. Start the Velocity proxy and set up the config.yml with the auth servers
## Plugin API ## Plugin API
Check the plugin API [here](https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API) Check the plugin API [here](https://github.com/4drian3d/AuthMeVelocity/wiki/Plugin-API)

View File

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

View File

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

View File

@ -12,9 +12,16 @@ repositories {
allprojects { allprojects {
apply<JavaPlugin>() apply<JavaPlugin>()
repositories { repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/") 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 { dependencies {
@ -45,4 +52,3 @@ tasks {
} }
} }
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))

View File

@ -4,6 +4,7 @@ plugins {
} }
repositories { repositories {
mavenCentral()
maven("https://repo.alessiodp.com/releases/") maven("https://repo.alessiodp.com/releases/")
} }
@ -20,14 +21,7 @@ tasks {
relocate("org.spongepowered", "me.adrianed.authmevelocity.libs.sponge") relocate("org.spongepowered", "me.adrianed.authmevelocity.libs.sponge")
relocate("io.leangen.geantyref", "me.adrianed.authmevelocity.libs.geantyref") 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 { blossom {
replaceTokenIn("src/main/java/me/adrianed/authmevelocity/common/Constants.java") replaceTokenIn("src/main/java/me/adrianed/authmevelocity/common/Constants.java")

View File

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

View File

@ -1,5 +1,3 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins { plugins {
id("net.minecrell.plugin-yml.bukkit") version "0.5.2" id("net.minecrell.plugin-yml.bukkit") version "0.5.2"
id("com.github.johnrengelman.shadow") version "7.1.2" id("com.github.johnrengelman.shadow") version "7.1.2"
@ -38,12 +36,5 @@ tasks {
relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby") relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby")
configurations = listOf(project.configurations.shadow.get()) 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 { repositories {
maven("https://repo.codemc.org/repository/maven-public/")
maven("https://repo.alessiodp.com/releases/") maven("https://repo.alessiodp.com/releases/")
maven("https://jitpack.io") maven("https://jitpack.io")
maven("https://repo.codemc.org/repository/maven-public/")
} }
dependencies { dependencies {
compileOnly(project(":authmevelocity-common"))
compileOnly(project(":authmevelocity-api-velocity"))
compileOnly("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT") 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.4drian3d:MiniPlaceholders:1.1.1")
compileOnly("com.github.games647:fastlogin.velocity:1.11-SNAPSHOT") compileOnly("com.github.games647:fastlogin.velocity:1.11-SNAPSHOT")
shadow("net.byteflux:libby-velocity:1.1.5") shadow("net.byteflux:libby-velocity:1.1.5")
shadow("org.bstats:bstats-velocity:3.0.0") shadow("org.bstats:bstats-velocity:3.0.0")
compileOnly(project(":authmevelocity-common")) annotationProcessor("com.velocitypowered:velocity-api:3.1.2-SNAPSHOT")
compileOnly(project(":authmevelocity-api-velocity"))
} }
tasks { tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
shadowJar { shadowJar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE duplicatesStrategy = DuplicatesStrategy.EXCLUDE
relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby") relocate("net.byteflux.libby", "me.adrianed.authmevelocity.libs.libby")
@ -34,4 +28,3 @@ tasks {
} }
} }
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))