I'm struggeling with kotlin-main-kts that does not...
# scripting
l
I'm struggeling with kotlin-main-kts that does not resolve transitative implementation and runtimeOnly dependencies. I would rather not set all my library dependencies to api. Should it be like that?
For the time beeing I will use https://github.com/markaren/kts, which uses maven and can handle runtime dependencies.
i
Dependency scopes were added to the main-kts some time ago, but it is not released yet, will be part of the 1.4.20 release. https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-main-kts-test/testData/resolve-with-runtime.main.kts#L4
👍 1