Skip to content

Feat: Add Compose Multiplatform module#107

Closed
jacob-derynk wants to merge 1 commit into
feature/cmp-libraryfrom
feature/cmp-library-module-setup
Closed

Feat: Add Compose Multiplatform module#107
jacob-derynk wants to merge 1 commit into
feature/cmp-libraryfrom
feature/cmp-library-module-setup

Conversation

@jacob-derynk

Copy link
Copy Markdown
Contributor

This commit introduces a new library-compose-multiplatform module to the project

Key changes include:

  • New Module: Added library-compose-multiplatform with necessary Gradle configuration for Kotlin Multiplatform and Compose Multiplatform.
  • Dependencies: Included Compose Multiplatform libraries (runtime, ui, foundation, animation, material3) in libs.versions.toml.
  • Sample Integration:
    • Added a "Hello World" Composable (HelloWorld.kt) in the new module.
    • Created a new HelloWorldActivity in the sample app to display this Composable.
    • Added a button in MainActivity to navigate to the HelloWorldActivity.
  • Build Configuration:
    • Updated settings.gradle.kts to include the new module and Compose Multiplatform repositories.
    • Updated root build.gradle.kts to include Kotlin Multiplatform and Compose Multiplatform plugins.
    • Added .kotlin/ to .gitignore.
  • Sample UI Update: Modified activity_main.xml and strings.xml in the sample app to accommodate the new "Hello World CMP" button.

This commit introduces a new `library-compose-multiplatform` module to the project

Key changes include:

- **New Module:** Added `library-compose-multiplatform` with necessary Gradle configuration for Kotlin Multiplatform and Compose Multiplatform.
- **Dependencies:** Included Compose Multiplatform libraries (runtime, ui, foundation, animation, material3) in `libs.versions.toml`.
- **Sample Integration:**
    - Added a "Hello World" Composable (`HelloWorld.kt`) in the new module.
    - Created a new `HelloWorldActivity` in the sample app to display this Composable.
    - Added a button in `MainActivity` to navigate to the `HelloWorldActivity`.
- **Build Configuration:**
    - Updated `settings.gradle.kts` to include the new module and Compose Multiplatform repositories.
    - Updated root `build.gradle.kts` to include Kotlin Multiplatform and Compose Multiplatform plugins.
    - Added `.kotlin/` to `.gitignore`.
- **Sample UI Update:** Modified `activity_main.xml` and `strings.xml` in the sample app to accommodate the new "Hello World CMP" button.
@jacob-derynk
jacob-derynk requested a review from a team August 20, 2025 14:11
@jacob-derynk jacob-derynk self-assigned this Aug 20, 2025
@jacob-derynk
jacob-derynk marked this pull request as draft August 21, 2025 14:46
@jacob-derynk
jacob-derynk deleted the feature/cmp-library-module-setup branch October 21, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant