in scripts, I also need to separately pre-install maven in order to be able to install the dependencies? Or does maven somehow come together with the kotlin compiler?
m
mbonnin
05/02/2023, 11:01 AM
There is a resolver built-in you shouldn't need anything else as long as your dependency is on maven central
mbonnin
05/02/2023, 11:02 AM
Note maven != maven central. Maven is a build tool for building jvm apps. You really don't need it for your scripts
mbonnin
05/02/2023, 11:02 AM
Maven central is the main repository for JVM dependencies. This is where dependencies are downloaded. This one you need most of the times for your scripts
a
Achifal
05/02/2023, 11:04 AM
Thank you very much for the quick response!
👍 1
v
Vampire
05/02/2023, 12:52 PM
And if you need some other repository, there is also
@file:Repository
👍 3
j
Joffrey
05/15/2023, 11:13 PM
Note that, for this support to kick in, you need to be using a script definition that has such dependency resolution support. For instance, the
main-kts
script definition does, so you would get that support in scripts with the