https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
j

Jim

12/01/2021, 12:05 AM
Has anyone here seen 
warning: Cannot find annotation method 'xi()' in type 'Metadata'
 style errors when using a kmp-jvm library from a java project? I kinda thought using the 
java
 and 
java-library
 plugins would make things "just work"
r

russhwolf

12/01/2021, 1:37 AM
If you're using java plugins you probably need to do
jvm { withJava() }
in your target declaration
j

Jim

12/01/2021, 1:38 AM
Yeah I did that 🤔
4 Views