Browse Source

Update README.md

pull/1534/head
akurasov 3 years ago committed by GitHub
parent
commit
20cd216276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      tutorials/Development_for_Android/README.md

10
tutorials/Development_for_Android/README.md

@ -11,15 +11,9 @@ Compose Multiplatform doesn't contain any Android artifacts. Instead it referenc
## Usage
Jetpack Compose interoperability is enabled on publication level - nothing needs to be explicitly enabled.
The easiest way to start is to use Kotlin Project Wizard with Compose Multiplatform template - one of the target platform is Android.
The easiest way to start is to use Kotlin Project Wizard with Compose Multiplatform template - one of the target platform is Android.
Another option is to take [multiplatform template](https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template)
If you want to create it manually, the following needs to be done:
- Create a Kotlin multiplatform project
- Enable Kotlin Gradle plugin (`kotlin("multiplatform")`)
- Enable Compose Multiplatform Gradle plugin (`id("org.jetbrains.compose")`)
- Add common Compose dependency to the Common module (e.g. `api(compose.runtime)`)
This is it. During compilation for Android platform, Jetpack Compose artifacts will be picked automatically.
## Versioning

Loading…
Cancel
Save