Brandon Saunders
06/11/2020, 7:42 PMBrandon Saunders
06/15/2020, 6:07 AMHyun
06/15/2020, 6:59 AMBrandon Saunders
06/16/2020, 9:44 AMHyun
06/16/2020, 9:56 AMyan
07/07/2020, 7:09 AMHyun
07/07/2020, 8:13 AMyan
07/07/2020, 12:51 PMwithJava()
: https://kotlinlang.org/docs/reference/mpp-dsl-reference.html#jvm-targets.
There you can configure kapt as usual.Hyun
07/07/2020, 1:01 PMjvm {
withJava()
}
is it correct or something?yan
07/07/2020, 2:36 PMwithJava()
, kapt should work.
@h0tk3y, please correct me if I’m wrong.h0tk3y
07/07/2020, 3:35 PMwithJava()
– this is required because most annotation processors emit Java, and JVM targets ignore Java sources unless withJava()
is applied. The android
target should work as well. It won’t work for any other MPP targets, as we can’t compile Java for them. If you face any issues with Kapt in this setup, please let us know.Hyun
07/07/2020, 4:50 PM