From 01fa370e888b354dd7a5d890b1567a0dc5d31bb2 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 29 Apr 2021 20:55:36 +0600 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 7b39e2c..f3bb736 100644 --- a/README.md +++ b/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 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 ### `mppProjectWithSerialization`