Skip to content

friendly DSL #2

@jastice

Description

@jastice

Right now adding a source dependency is a bit unwieldy:

sourceDependencies += Dependency(
        HashVersion("<git commit long hash>"),
        Repositories(uri("<https git repository uri>")))

We'd like something more like:

sourceDependencies += hash("<git commit hash>") from uri("<repo uri>")
sourceDependencies += tag("<git tag name>") from uri("<repo uri>")
sourceDependencies += branch("<git branch name>") from uri("<repo uri>")
sourceDependencies += hash("<git commit hash>") from Seq(uri("<repo uri1>"), uri("<repo uri1>"))
[etc...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions