1.2.7
Compatibility
Changes
v1.2.7
This pull request makes several improvements to the project's build and release automation, as well as some internal refactoring and minor feature updates. The main theme is the consolidation and enhancement of CI/CD workflows, along with some codebase clean-up and dependency updates.
CI/CD Workflow Improvements:
- Consolidated the separate
main.ymlandalpha.ymlGitHub Actions workflows into a single unified workflow file,release-and-publish.yml, which now handles releases for both themainandalphabranches. This new workflow also adds steps to build artifacts, tag releases, and upload JAR files as GitHub releases. The old workflow files were removed. [1] [2] [3]
Dependency and Version Updates:
- Updated the plugin version in
gradle.propertiesfrom1.2.6to1.2.7.
Codebase Refactoring:
- Replaced usage of the
Configclass with the newYamlConfigclass inConfigs.java, updating both instance variables and constructor usage accordingly. - Refactored action bar handling in
StaffCommand.javato use the sharedActionBarutility class, removing the customsetActionBarmethod and its associated state. [1] [2] [3]
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:uzgwKskt:GKmb5PCR"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uzgwKskt:GKmb5PCR"
}

