mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Doc.
This commit is contained in:
parent
6b2fa2c139
commit
fc7df24e1a
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue