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

Ability to reference common Maven repositories by constant instead of manually #5

Open
UnknownJoe796 opened this issue Sep 3, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@UnknownJoe796
Copy link
Owner

It would be nice to include things like JCenter and JitPack extremely easily. This could be done super easily like this:

import org.apache.maven.model.Model
...
Model().apply {
  repositories = listOf(Repositories.jcenter, Repositories.jitpack)
}

I'd recommend the creation of:

object Repositories {
  val jcenter: Repository = ...
  val jitpack: Repository = ...
}

This is really easy to do, but this is a first good task for somebody else to take who wants to get familiar with the project.

Don't forget to create a unit test that uses it!

@UnknownJoe796 UnknownJoe796 added enhancement New feature or request good first issue Good for newcomers labels Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant