From 2d7d2c116d4b1109eaf30524674f8316da6be61d Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Tue, 3 Jul 2018 22:42:22 +0200 Subject: [PATCH] Update readme to add information about depending on stdlib. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4e09db0..fa12a04 100644 --- a/README.md +++ b/README.md @@ -544,6 +544,9 @@ add the following to your build to enable the annotation processor: kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0' ``` +You must also have the `kotlin-stdlib` dependency on the classpath during compilation in order for +the compiled code to have the required metadata annotations that Moshi's processor looks for. + #### Limitations If your Kotlin class has a superclass, it must also be a Kotlin class. Neither reflection or codegen