From 1038bf2f2db7391e16cc2791dd564edb7b49bf2e Mon Sep 17 00:00:00 2001 From: Mina Her Date: Wed, 14 Aug 2024 21:40:48 +0900 Subject: [PATCH] Document methods to resolve issues with Gradle in Groovy (#464) --- docs/paper/dev/getting-started/userdev.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/paper/dev/getting-started/userdev.mdx b/docs/paper/dev/getting-started/userdev.mdx index e0a27032..2239ec94 100644 --- a/docs/paper/dev/getting-started/userdev.mdx +++ b/docs/paper/dev/getting-started/userdev.mdx @@ -145,3 +145,9 @@ paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArt ``` This is useful for plugins that have loaders for both Spigot and Paper and want to keep compatibility with both. + +:::note + +If you are using Gradle with the Groovy DSL, you should instead access the fields via static methods like `getMOJANG_PRODUCTION()`. + +:::