mirror of
https://github.com/InsanusMokrassar/KotlinMultiplatformProjectTemplate.git
synced 2024-11-24 11:08:50 +00:00
Update README.md
This commit is contained in:
parent
dfede7b300
commit
01fa370e88
15
README.md
15
README.md
@ -23,6 +23,21 @@ sdk.dir=/your/path/to/android/sdk
|
|||||||
In this template there is only one subproject with name `lib`. You are always able to rename it, but remember that in
|
In this template there is only one subproject with name `lib`. You are always able to rename it, but remember that in
|
||||||
this case you must rename it in `settings.gradle` file.
|
this case you must rename it in `settings.gradle` file.
|
||||||
|
|
||||||
|
## JVM sources in Android target
|
||||||
|
|
||||||
|
By default JVM code is not included in Android target. In case you wish to include JVM sources in Android build, use
|
||||||
|
next method in the end of your `build.gradle`:
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
enableIncludingJvmCodeInAndroidPart()
|
||||||
|
```
|
||||||
|
|
||||||
|
In case when you need to be sure that JVM sources are not included in Android part, use this snippet:
|
||||||
|
|
||||||
|
```groovy
|
||||||
|
disableIncludingJvmCodeInAndroidPart()
|
||||||
|
```
|
||||||
|
|
||||||
## Types of projects
|
## Types of projects
|
||||||
|
|
||||||
### `mppProjectWithSerialization`
|
### `mppProjectWithSerialization`
|
||||||
|
Loading…
Reference in New Issue
Block a user