Browse Source

Update README.md

web_remove_warning_in_tutorials
Nikolay Igotti 3 years ago committed by GitHub
parent
commit
3831e92f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      tutorials/Development_for_Android/README.md

11
tutorials/Development_for_Android/README.md

@ -6,8 +6,9 @@ This tutorial covers topic of using Compose Multiplatform for multiplatform buil
## Intro
Compose Multiplatform doesn't contain any Android artifacts.
Compose Multiplatform build doesn't contain any Android artifacts.
Instead it references Jetpack Compose Android artifacts [published by Google](https://developer.android.com/jetpack/compose).
This way we ensure that libraries built for Android using Jetpack libraries are compatible with Android Multiplatform.
## Usage
@ -17,13 +18,13 @@ Jetpack Compose interoperability is enabled on the publication level - nothing n
The easiest way to start is to use Kotlin Project Wizard with Compose Multiplatform template - one of the target platform is Android.
To see how it could be achieved see [multiplatform template](https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template).
To see how it could be achieved see the [multiplatform template](https://github.com/JetBrains/compose-jb/tree/master/templates/multiplatform-template).
## Versioning
Compose Multiplatform 1.0.0 references Jetpack Compose `1.1.0-beta02`. If one wants to use a different version, they could explicitly
override Jetpack Compose dependencies to the Android module like this
Compose Multiplatform `1.0.0` references Jetpack Compose `1.1.0-beta02`. If one wants to use a different version, they could explicitly
override Jetpack Compose dependencies to the Android module like this:
```kotlin
configurations.all {
@ -38,7 +39,7 @@ However please note, that Kotlin Compiler version used for Android must match.
## Android Gradle Plugin (AGP) version
Currently, Using AGP 4.1.3 with block like
For multiplatform Android modules using AGP `4.1.3` with the block like
```kotlin
dependencies {
classpath("com.android.tools.build:gradle:4.1.3")

Loading…
Cancel
Save