Improve publishing and version management #24
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request centralizes the Maven publishing configuration in the root
build.gradle.ktsfile, removing hardcoded version and group IDs from individual modulebuild.gradle.ktsfiles. The project version is now dynamically set from an environment variable or defaults to0.0.1-SNAPSHOT.Additionally, the
README.mdhas been updated to reflect these changes, using<version>placeholders for dependencies and providing a link to the GitHub releases page for specific versions. A new step has been added to the CI workflow to verify the publishing process by running./gradlew publishToMavenLocal.Type of Change
How to Test
The changes can be tested by running the CI pipeline. The added
publishToMavenLocalstep in.github/workflows/build.ymlwill verify that the publishing configuration is correct and the artifacts can be built and published locally.Check if Link in the readme works.
Ensure JitPack succesfully build the project
Checklist
Additional Notes
This change simplifies version management and ensures consistency across all published modules.