A Gradle plugin for publishing Hytale mods to Modtale, CurseForge, Modifold, Thunderstore, GitHub Releases, and custom Maven repositories.
Each platform is opt-in, and publishAll publishes to every enabled target.
- One Gradle DSL for release metadata and publishing targets
- Credentials from
key.propertiesor environment variables - Platform-specific dependencies and project identifiers
- Automatic builds before publishing
- GitHub Release and custom Maven publishing support
- Multi-module project support
plugins {
id "com.azuredoom.hytalepublisher" version "1.1.13"
}version = "1.0.0"
ext.hytale_version = "0.+"
hytalePublisher {
releaseType = "release"
changelogFile = "CHANGELOG.md"
modtale {
enabled = true
projectId = "your-modtale-project-id"
patchline = "release"
}
curseforge {
enabled = true
projectId = "123456"
}
modifold {
enabled = true
projectId = "your-modifold-project-slug"
gameVersions = [project.hytale_version]
loaders = ["Vanilla"]
}
}Add local credentials to an untracked key.properties file:
modTaleKey=your-modtale-api-key
curseKey=your-curseforge-api-token
modifoldKey=your-modifold-bearer-token
thunderstoreToken=your-thunderstore-service-account-token
githubToken=your-github-token
mavenUsername=your-repository-username
mavenPassword=your-repository-passwordEnvironment variables are recommended for CI/CD.
Publish to every enabled platform:
./gradlew publishAllOr publish to one platform:
./gradlew publishToModtale
./gradlew publishToCurseForge
./gradlew publishToModifold
./gradlew publishToThunderstore
./gradlew publishToGitHub
./gradlew publishToMavenAll publishing tasks depend on build.
Full configuration, credentials, platform details, CI examples, and release workflows are maintained in the HytalePublisher Wiki.
- Installation
- Credentials
- Configuration
- Minimal Configuration
- Publishing a Release
- CI/CD Example
- Multi-Module Projects
- Tasks
- Credential and Project ID Reference
- Platform Notes
- Thunderstore
Report bugs or request features through GitHub Issues.
Licensed under the MIT License.