From 2dad770d67e77e66138cc16e4b5884c961253934 Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Fri, 31 May 2024 09:40:12 +0200 Subject: [PATCH] Include website url in plugin.yml (#3897) --- build-logic/src/main/kotlin/via.base-conventions.gradle.kts | 2 +- bukkit/src/main/resources/plugin.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build-logic/src/main/kotlin/via.base-conventions.gradle.kts b/build-logic/src/main/kotlin/via.base-conventions.gradle.kts index 3b18b798d..c08779bc4 100644 --- a/build-logic/src/main/kotlin/via.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/via.base-conventions.gradle.kts @@ -7,7 +7,7 @@ tasks { // Variable replacements processResources { filesMatching(listOf("plugin.yml", "fabric.mod.json")) { - expand("version" to project.version, "description" to project.description) + expand("version" to project.version, "description" to project.description, "url" to "https://viaversion.com") } } javadoc { diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index 34c028f42..60c1aa56f 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -3,6 +3,7 @@ main: com.viaversion.viaversion.ViaVersionPlugin authors: [ _MylesC, creeper123123321, Gerrygames, kennytv, Matsv, EnZaXD, RK_01 ] version: ${version} description: ${description} +website: ${url} api-version: 1.13 folia-supported: true loadbefore: [ ProtocolLib ]