kotlin-spm-plugin
kotlin-spm-plugin copied to clipboard
Introduced additional package version strategies
๐ Description
Current implementation hardcodes and thus supports only one package versioning strategy - from
.
Use cases of plugin might require support whole bunch of different versioning strategies described here:
https://docs.swift.org/package-manager/PackageDescription/PackageDescription.html
๐ Motivation and Context
This change attempts to introduce supporting them while still keeping plugin UX friendly.
๐งช How Has This Been Tested?
I haven't introduced any additional unit tests to cover new logic, instead - performed smoke tests across all new strategies locally. Please do let me know if additional coverage is required.
๐ฆ Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
โ Checklist
- [x] My code follows the code style of this project.
- [] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.