How heitorcolangelo/kmp-library-sample works
Build System Layer
• Gradle build system (build.gradle.kts)
• Convention plugins
• Publication configuration
Testing Infrastructure
Parallel testing structures for each platform:
• commonTest
• androidUnitTest
• iosTest
• jvmTest
• linuxX64Test
Deployment Pipeline
A section showing:
• GitHub Actions workflows
• Maven Central deployment process
• Sonatype integration
Components
[Common Module]
• ↑
• → [Android Implementation]
• → [iOS Implementation]
• → [JVM Implementation]
• → [Linux Implementation]
Important Considerations:
Platform Specifics
• How platform-specific properties (fibiprops) are implemented in each target
• Shared interfaces from common module
Build Configuration
• How the convention plugins affect the build process
• Publication workflow to Maven Central
Testing Flow
• Demonstrate how tests are executed for each platform
• Relationship between common tests and platform-specific tests
Deployment Process
• GitHub Actions workflow
• Signing and publication steps
• Special indicators or symbols
Level of Detail:
• Keep the main architecture view clean and high-level
• Build process
• Testing infrastructure
• Deployment pipeline
Remember to emphasize the multiplatform nature of the project and how the common code is shared and specialized across different platforms.