Thank you for your interest in contributing to PayCraft! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork locally
- Set up the development environment
- JDK 17 or higher
- Android SDK (for Android target)
- Xcode (for iOS target, macOS only)
- Kotlin 2.1+
# Clone your fork
git clone https://github.com/YOUR_USERNAME/PayCraft.git
cd PayCraft
# Build the project
./gradlew buildfeature/description- New featuresfix/description- Bug fixesdocs/description- Documentation updatesrefactor/description- Code refactoring
This project uses:
- Spotless with ktlint for code formatting
- Detekt for static analysis
Before committing, run:
# Format code
./gradlew spotlessApply
# Run static analysis
./gradlew detekt# Run all tests
./gradlew allTests
# Run specific platform tests
./gradlew jvmTest
./gradlew iosSimulatorArm64Test
./gradlew testAndroidHostTest
./gradlew linuxX64Test- Create a feature branch from
development - Make your changes
- Ensure all tests pass
- Update documentation if needed
- Submit a pull request
- Code follows the project style guidelines
- Tests added/updated for changes
- Documentation updated
- Commit messages are clear and descriptive
- PR description explains the changes
When reporting issues, please include:
- Library version
- Kotlin version
- Platform(s) affected
- Steps to reproduce
- Expected vs actual behavior
- Relevant logs or stack traces
Please read and follow our Code of Conduct.
By contributing, you agree that your contributions will be licensed under the same license as the project.