Gradle plugins and scripts for publishing Java projects Maven Central
Thank you for your interest in contributing to Gradle Kit! We welcome and value all contributions, from new features to bug fixes and documentation improvements. This guide will help you navigate the process.
Please note that this project is governed by our Code of Conduct. By participating, you are expected to uphold this code.
We use GitHub Issues to track bugs. Before creating a new issue, please check the existing issues to ensure the bug has not already been reported.
When submitting a bug report, please provide the following information:
For suggesting enhancements or new features, please open a GitHub Issue and follow these guidelines:
To get started with local development:
git clone https://github.com/jonloucks/gradle-kit.git
# To build a JDK it is recommended ot use at least 17
javac --version
./gradlew test
./gradlew jacocoTestCoverageVerification
Before submitting a pull request (PR), please follow these steps:
main branch with a descriptive name (e.g., feature/add-new-feature or fix/issue-description).main branch.Documentation is vital for any project. If you find a typo, unclear explanation, or want to add a new section, please submit a PR with your changes. All documentation is located in the docs/ folder.
We use a conventional commit style for our commit messages to maintain a readable and organized history. A commit message should be structured as follows:
Conciseness: Limit the subject line to around 50-72 characters. This encourages a brief, impactful summary and ensures readability in various Git tools. Imperative Mood: Use the imperative mood (e.g., “Fix bug,” “Add feature,” “Update documentation”) as if you are giving a command. This aligns with Git’s own generated messages (like git merge). Capitalization: Capitalize the first letter of the subject line. No Period: Do not end the subject line with a period. Keywords (Optional): Consider using keywords like “feat,” “fix,” “chore,” “docs,” “style,” “refactor,” “test” at the beginning, especially if following a Conventional Commits specification.
Blank Line Separation: Separate the subject line from the body with a single blank line. This is crucial for Git tools to correctly parse the message. Detailed Explanation: Provide a more in-depth explanation of what the change does and why it was made. Focus on the motivation and the problem it solves, rather than simply reiterating how it was implemented (which is evident in the code itself). Line Wrapping: Wrap the body text at approximately 72 characters to maintain readability in terminal environments. Bullet Points (Optional): Use bullet points or lists for better organization and clarity when describing multiple aspects of the change. Issue References (Optional): If the commit addresses a specific issue or bug, reference its identifier (e.g., “Closes #123,” “Fixes BUG-456”). Breaking Changes (Optional): Clearly indicate any breaking changes, often by starting a new section in the body or footer with “BREAKING CHANGE:”.