Join Slack
Powered by
I'm struggeling with kotlin-main-kts that does not...
# scripting
l
laht
08/18/2020, 11:15 AM
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?
laht
08/18/2020, 11:19 AM
For the time beeing I will use
https://github.com/markaren/kts
, which uses maven and can handle runtime dependencies.
i
ilya.chernikov
08/18/2020, 4:39 PM
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
Open in Slack
Previous
Next