1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00
This commit is contained in:
Cedric Beust 2015-11-30 21:46:40 -08:00
parent 6b2fa2c139
commit fc7df24e1a
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,11 @@ import java.net.URI
* Plugins that add their own repos. * Plugins that add their own repos.
*/ */
interface IRepoContributor : IContributor { interface IRepoContributor : IContributor {
/**
* Note that the project passed might be null because this contributor is called twice:
* before the build file gets parsed (so we don't have any projects yet) and after the
* build file has been parsed (then it gets called once for each project discovered).
*/
fun reposFor(project: Project?) : List<URI> fun reposFor(project: Project?) : List<URI>
} }