Skip to content

Repository files navigation

HytalePublisher

Gradle Plugin Portal License: MIT Gradle

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.

Features

  • One Gradle DSL for release metadata and publishing targets
  • Credentials from key.properties or environment variables
  • Platform-specific dependencies and project identifiers
  • Automatic builds before publishing
  • GitHub Release and custom Maven publishing support
  • Multi-module project support

Installation

plugins {
    id "com.azuredoom.hytalepublisher" version "1.1.13"
}

Minimal configuration

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-password

Environment variables are recommended for CI/CD.

Publishing

Publish to every enabled platform:

./gradlew publishAll

Or publish to one platform:

./gradlew publishToModtale
./gradlew publishToCurseForge
./gradlew publishToModifold
./gradlew publishToThunderstore
./gradlew publishToGitHub
./gradlew publishToMaven

All publishing tasks depend on build.

Documentation

Full configuration, credentials, platform details, CI examples, and release workflows are maintained in the HytalePublisher Wiki.

Support

Report bugs or request features through GitHub Issues.

License

Licensed under the MIT License.

About

A Gradle plugin that automates building and publishing Hytale mods to multiple platforms, including CurseForge, Modtale, and Modifold.

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Contributors

Languages