How to install packages from JCenter?
Answered
I created a new Kotlin/JVM project. Now I'd like to add Klaxon as a library. According to Klaxon's README file, it is hosted as 'com.beust:klaxon:0.30' on JCenter.
When I open the 'Project Structure' dialog in IDEA, select 'Libraries', and click the '+' button, I can choose 'From Maven...'. But the dialog that opens won't allow me to specify a Maven repository.
What am I doing wrong?
Please sign in to leave a comment.
It's not supported yet, see https://youtrack.jetbrains.com/v2/issue/IDEA-154970.
Please consider using Gradle based projects instead.
Thank you! I will do that.