SPM Resources
SPM packages can declare resources for a target, such as images, JSON files, or other assets, using the resources: parameter in Package.swift. scd automatically collects these resource bundles and includes them in the archive — no extra flags are needed.
Resources are copied into assets/swift/ in the output. This applies directly to the File Tree archive. AAR and Android Test APK archives are built on top of a File Tree archive before Gradle packages the result, so the resources are included in the final .aar/.apk as well.
When --build-tests is set (which happens automatically for AAR and Android Test APK archives), resource bundles declared for test targets are included as well.
The SCADE Swift SDK for Android automatically handles locating resource bundles at runtime, so code can access them using the standard Bundle class, the same way it would on Apple platforms.