Skip to content

Commit

Permalink
Add comment about defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Mar 22, 2024
1 parent 6f77ca3 commit 03d6c46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Bukkit and Paper plugin YMLs can be created in two ways:
import xyz.jpenilla.resourcefactory.(bukkit|paper).(bukkit|paper)PluginYml

val yml = (bukkit|paper)PluginYml {
// Defaults for name, version, and description are inherited from the Gradle project
main = "main.class.Name"
authors.add("MyName")
// configure fields...
Expand All @@ -52,6 +53,7 @@ Bukkit and Paper plugin YMLs can be created in two ways:
sourceSets.main {
resourceFactory {
(bukkit|paper)PluginYml {
// Defaults for name, version, and description are inherited from the Gradle project
main = "main.class.Name"
authors.add("MyName")
// configure fields...
Expand Down

0 comments on commit 03d6c46

Please sign in to comment.