Hi, I've been trying to import a module from Maven...
# build-tools
o
Hi, I've been trying to import a module from Maven into my project, and it doesn't seem to be working. I've added 2 Kotlin modules (betterParser and ) via File -> Project Structure -> Module -> + and yet I can't import any of the symbols (Kotlin: Packages cannot be imported). Just to check, I imported a Java module (JBlas) from Maven using the same methodology that that one works just fine. What am I doing wrong? (I'm using ant, not Graddle)
e
what is the module you are trying to import? if it's a kotlin multiplatform library, those only work out of the box in gradle, due to relying on gradle metadata about the different variants
o
I tried https://copper-leaf.github.io/kudzu/
Copy code
io.github.copper-leaf:kudzu-core:3.1.0
and https://github.com/h0tk3y/better-parse
Copy code
com.github.h0tk3y.betterParse:better-parse:0.4.4
e
both are multiplatform
you can try manually adjusting the coordinates to
Copy code
io.github.copper-leaf:kudzu-core-jvm:3.1.0
com.github.h0tk3y.betterParse:better-parse-jvm:0.4.4
(which Gradle knows how to do automatically depending on the target platform)
o
This worked, thank you!