From 98831c4ae3fd0ada61fa4cfcf147b7d4ffe3532b Mon Sep 17 00:00:00 2001 From: 4drian3d Date: Mon, 15 Aug 2022 00:14:51 +0000 Subject: [PATCH] misc: Some plugin meta changes --- .../main/java/me/adrianed/authmevelocity/common/Constants.java | 3 +++ gradle.properties | 2 +- paper/build.gradle.kts | 1 + .../adrianed/authmevelocity/velocity/AuthMeVelocityPlugin.java | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/me/adrianed/authmevelocity/common/Constants.java b/common/src/main/java/me/adrianed/authmevelocity/common/Constants.java index 974dd52..158488f 100644 --- a/common/src/main/java/me/adrianed/authmevelocity/common/Constants.java +++ b/common/src/main/java/me/adrianed/authmevelocity/common/Constants.java @@ -1,7 +1,10 @@ package me.adrianed.authmevelocity.common; public final class Constants { + private Constants() {} + public static final String VERSION = "{version}"; + public static final String DESCRIPTION = "{description}"; public static final String CONFIGURATE = "4.1.2"; public static final String GEANTYREF = "1.3.13"; } diff --git a/gradle.properties b/gradle.properties index 9c70bbe..b6e18df 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group = me.adrianed.authmevelocity version = 3.0.0-SNAPSHOT -description = AuthMe Bridge with Velocity Proxy +description = AuthMeReloaded Support for Velocity url = https://github.com/4drian3d/AuthMeVelocity id = authmevelocity diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index 7f6b42c..585f18e 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -25,6 +25,7 @@ bukkit { main = "me.adrianed.authmevelocity.paper.AuthMeVelocityPaper" apiVersion = "1.13" website = "https://github.com/4drian3d/AuthMeVelocity" + description = project.description as String authors = listOf("xQuickGlare", "4drian3d") softDepend = listOf("MiniPlaceholders") depend = listOf("AuthMe") diff --git a/velocity/src/main/java/me/adrianed/authmevelocity/velocity/AuthMeVelocityPlugin.java b/velocity/src/main/java/me/adrianed/authmevelocity/velocity/AuthMeVelocityPlugin.java index 1b403a1..9d56d6a 100644 --- a/velocity/src/main/java/me/adrianed/authmevelocity/velocity/AuthMeVelocityPlugin.java +++ b/velocity/src/main/java/me/adrianed/authmevelocity/velocity/AuthMeVelocityPlugin.java @@ -43,8 +43,9 @@ import java.util.UUID; id = "authmevelocity", name = "AuthMeVelocity", url = "https://github.com/4drian3d/AuthMeVelocity", - description = "This plugin adds the support for AuthMeReloaded to Velocity", + description = Constants.DESCRIPTION, version = Constants.VERSION, + authors = {"xQuickGlare", "4drian3d"}, dependencies = { @Dependency( id = "miniplaceholders",