mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Fix repos from the build file.
This commit is contained in:
parent
a304fc04bd
commit
a66b7be5da
1 changed files with 3 additions and 1 deletions
|
@ -33,10 +33,12 @@ public class Kobalt {
|
||||||
Kobalt.context?.pluginInfo?.repoContributors?.forEach {
|
Kobalt.context?.pluginInfo?.repoContributors?.forEach {
|
||||||
result.addAll(it.reposFor(null))
|
result.addAll(it.reposFor(null))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result.addAll(reposFromBuildFiles)
|
||||||
return result.toHashSet()
|
return result.toHashSet()
|
||||||
}
|
}
|
||||||
|
|
||||||
val reposFromBuildFiles = HashSet<HostConfig>(Constants.DEFAULT_REPOS.map { HostConfig(it) })
|
val reposFromBuildFiles = hashSetOf<HostConfig>()
|
||||||
|
|
||||||
fun addRepo(repo: HostConfig) = reposFromBuildFiles.add(
|
fun addRepo(repo: HostConfig) = reposFromBuildFiles.add(
|
||||||
if (repo.url.endsWith("/")) repo
|
if (repo.url.endsWith("/")) repo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue