Does the IDE main kts support maven dependencies o...
# scripting
e
Does the IDE main kts support maven dependencies or am I doing something wrong here. I’d like to resolve and use some dependencies from maven but even with auto reload enabled, I still cant access the classes ….
Copy code
@file:Repository("<https://repo.maven.apache.org/maven2/>")
@file:DependsOn("com.github.ajalt.clikt:clikt:3.5.0")

class FooCommand : CliktCommand() {

}
No auto complete for CliktCommand in this
i
AFAIU you need to use
@file:DependsOn("com.github.ajalt.clikt:clikt-jvm:3.5.0")
🙏 1
e
Oh wow, that was it 😅
👍 1