1.2.7-ALPHA.1
Compatibility
Changes
v1.2.7
This pull request consolidates and modernizes the CI/CD GitHub Actions workflows for publishing releases, and refactors some internal code to improve maintainability and consistency. The most significant changes include merging separate workflow files into a unified workflow, updating the plugin version, and refactoring configuration and action bar handling in the codebase.
CI/CD Workflow Consolidation and Improvements:
- Replaced the separate
.github/workflows/main.ymland.github/workflows/alpha.ymlwith a single.github/workflows/release-and-publish.ymlworkflow. This new workflow handles bothmainandalphabranches, automates version tagging, builds artifacts, and publishes to GitHub Releases, Hangar, and Modrinth, reducing duplication and simplifying maintenance. (.github/workflows/release-and-publish.yml [1] .github/workflows/main.yml [2] .github/workflows/alpha.yml [3]
Version Update:
- Updated the plugin version from
1.2.6to1.2.7ingradle.properties. (gradle.properties gradle.propertiesL2-R2)
Codebase Refactoring:
Config Handling:
- Refactored
Configsto useYamlConfiginstead ofConfigfor all configuration files, improving type consistency and clarity. (src/main/java/com/lyttldev/lyttleadmin/types/Configs.java src/main/java/com/lyttldev/lyttleadmin/types/Configs.javaL4-R27)
Action Bar Handling:
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:idHqFFej"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uzgwKskt:idHqFFej"
}

