Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Deftu committed Sep 6, 2024
2 parents 1dd096a + de7baf3 commit 04f94c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ The return values of all of the properties inside of the `MCDependency` objects
### Minecraft Releases plugin
The `dev.deftu.gradle.tools.minecraft.releases` plugin will automatically configure your project to publish to both CurseForge and Modrinth, and has maximal configuration options. It's easiest to check the `ReleasingExtension` class for all the properties.

- Publishing for Modrinth can be setup via configuring the `dgt.publish.modrinth.token` property in your global Gradle properties file and setting your project ID via `modrinth.projectId` in `toolkitReleases`
- Publishing for CurseForge can be setup via configuring the `dgt.publish.curseforge.apikey` property in your global Gradle properties file and setting your project ID via `curseforge.projectId` in `toolkitReleases`

#### How do I locate my global Gradle properties?

By default, for Windows users, they will be located at `C:\Users\YOU\.gradle\gradle.properties`. **But**, this can be configured using the `GRADLE_HOME` environment variable, so if setting these properties in the default location does not work, check if you have the environment variable set up.

---

**This project is licensed under [LGPL-3.0][lgpl3].**\
Expand Down

0 comments on commit 04f94c7

Please sign in to comment.