Skip to content

Commit

Permalink
Document methods to resolve issues with Gradle in Groovy (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
minacle authored Aug 14, 2024
1 parent 0c25d09 commit 1038bf2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/paper/dev/getting-started/userdev.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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()`.

:::

0 comments on commit 1038bf2

Please sign in to comment.