KMMBridge
KMMBridge copied to clipboard
Allowing multiple packages in the same package.swift file
Issue: https://github.com/touchlab/KMMBridge/issues/168
Summary
- We must support having multiple framework declarations in the same Package.swift file
Fix
- Created an extra property to the SPM configuration called
perModuleVariablesBlock
- This parameter works together with the
useCustomPackageFile
- When it's set to true, each configuration block will mention the package name it's publishing so it knows which block should be updated.
- Check
withMultipleModules
test case
- Check
- This parameter works together with the
Testing
-
./gradlew test
-
./gradlew build