This is a module of Bearsampp project involving MariaDB.
This project uses Gradle as its build system. The legacy Ant build has been fully replaced with a modern, pure Gradle implementation.
# Display build information
gradle info
# List all available tasks
gradle tasks
# Verify build environment
gradle verify
# Build a release (interactive)
gradle release
# Build a specific version (non-interactive)
gradle release -PbundleVersion=12.0.2
# Clean build artifacts
gradle clean| Requirement | Version | Purpose |
|---|---|---|
| Java | 8+ | Required for Gradle execution |
| Gradle | 7.0+ | Build automation tool |
| 7-Zip | Latest | Archive creation (required for 7z) |
| Task | Description |
|---|---|
release |
Build release package (interactive/non-interactive) |
releaseAll |
Build all available versions |
clean |
Clean build artifacts and temporary files |
verify |
Verify build environment and dependencies |
info |
Display build configuration information |
listVersions |
List available bundle versions in bin/ |
listReleases |
List releases from modules-untouched |
validateProperties |
Validate build.properties configuration |
checkModulesUntouched |
Check modules-untouched integration |
For complete documentation, see .gradle-docs/README.md
This module includes automated testing for all MariaDB versions using GitHub Actions:
- Smart Version Detection: Automatically detects which versions to test from PR changes
- 📦 Primary: Detects versions from
/bindirectory changes (e.g.,bin/mariadb11.8.3/) - 📋 Fallback: Extracts versions from PR title
- 🔄 Final Fallback: Tests latest 5 versions if no versions detected
- 📦 Primary: Detects versions from
- Efficient Testing: Only tests relevant versions, reducing CI runtime
- Comprehensive Validation: Tests download, extraction, and executable functionality
- Automated PR Comments: Results posted directly to pull requests
For detailed information about the testing workflow, see docs/CI-CD-TESTING.md
- Build Documentation: .gradle-docs/README.md
- Task Reference: .gradle-docs/TASKS.md
- Configuration Guide: .gradle-docs/CONFIGURATION.md
- CI/CD Testing: docs/CI-CD-TESTING.md
- Module Downloads: https://bearsampp.com/module/mariadb
Issues must be reported on Bearsampp repository.