Skip to content

Resolve build target automatically like Gradle #341

Description

@gad2103

I'm not sure this is possible, but I didn't realize that if you are using a multiplatform capable library, you have to only depend on the jvm version of it. I was banging my head against the wall until i looked in my external dependencies folder and saw only jvm versions of libraries that gradle auto-resolved. it would be nice if kscript could do the same.

example:

works
@file:DependsOn("com.github.ajalt.clikt:clikt-jvm:3.4.0")

fails during kscript package step
@file:DependsOn("com.github.ajalt.clikt:clikt:3.4.0")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions