Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

friendly DSL #2

Open
jastice opened this issue Jul 4, 2017 · 0 comments
Open

friendly DSL #2

jastice opened this issue Jul 4, 2017 · 0 comments

Comments

@jastice
Copy link
Member

jastice commented Jul 4, 2017

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...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant