Skip to content

Commit

Permalink
Remove unnecessary array wrapping to .addAll (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmLX authored Feb 21, 2025
1 parent cf275f4 commit 7b3154c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ modrinth {
versionNumber.set("1.0.0") // You don't need to set this manually. Will fail if Modrinth has this version already
versionType.set("release") // This is the default -- can also be `beta` or `alpha`
uploadFile.set(tasks.jar) // With Loom, this MUST be set to `remapJar` instead of `jar`!
gameVersions.addAll(arrayOf("1.18", "1.18.1")) // Must be an array, even with only one version
gameVersions.addAll("1.18", "1.18.1") // Must be an array, even with only one version
loaders.add("fabric") // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
dependencies { // A special DSL for creating dependencies
// scope.type
Expand Down

0 comments on commit 7b3154c

Please sign in to comment.