From e019477cc3d86a09db5f60ad9e24d259094362db Mon Sep 17 00:00:00 2001 From: Alexander Prendota Date: Tue, 18 Sep 2018 09:49:18 +0300 Subject: [PATCH] add kotlin-playground styles to FAQ.md (#2079) --- FAQ.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/FAQ.md b/FAQ.md index e3fdf090f8d..dd1079000be 100644 --- a/FAQ.md +++ b/FAQ.md @@ -38,12 +38,16 @@ or set it via the `JAVA_OPTS` environment variable. ### Q: How do I specify a custom Objective-C prefix/name for my Kotlin framework? A: Use the `-module_name` compiler option or matching Gradle DSL statement, i.e. -``` + +
+ +```groovy framework("MyCustomFramework") { extraOpts '-module_name', 'TheName' } ``` +
### Q: Why do I see `InvalidMutabilityException`? @@ -67,11 +71,16 @@ A: We release dev builds frequently, usually at least once a week. You can check For the CLI, you can compile using gradle as stated in the README (and if you get errors, you can try to do a ./gradlew clean): -``` +
+ +```bash ./gradlew dependencies:update ./gradlew dist distPlatformLibs ``` +
+ + You can then set the `KONAN_HOME` env variable to the generated `dist` folder in the git repository.