1.3.2
Compatibility
Changes
v1.3.2
This pull request consolidates and modernizes the CI/CD workflows for releasing and publishing packages, and updates a core dependency in the codebase. The main changes include replacing separate workflow files for the main and alpha branches with a single unified workflow, automating version tagging and release creation, and updating the plugin version and configuration class to use a new config type.
CI/CD Workflow Consolidation and Automation:
- Replaces
.github/workflows/main.ymland.github/workflows/alpha.ymlwith a new unified workflow.github/workflows/release-and-publish.ymlthat handles bothmainandalphabranches, streamlining the release process and reducing duplication. [1] [2] [3] - Adds automated steps in the new workflow to build the project, extract the plugin version, create git tags, and generate GitHub releases with uploaded artifacts, improving release traceability and automation.
Dependency and Version Updates:
- Updates the plugin version in
gradle.propertiesfrom1.3.1to1.3.2. - Refactors
Configs.javato useYamlConfiginstead of the deprecatedConfigclass for all configuration files, aligning with updated dependencies and improving maintainability.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:oRpYCka8:FixtyXpF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:oRpYCka8:FixtyXpF"
}

