mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -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 {
|
||||
result.addAll(it.reposFor(null))
|
||||
}
|
||||
|
||||
result.addAll(reposFromBuildFiles)
|
||||
return result.toHashSet()
|
||||
}
|
||||
|
||||
val reposFromBuildFiles = HashSet<HostConfig>(Constants.DEFAULT_REPOS.map { HostConfig(it) })
|
||||
val reposFromBuildFiles = hashSetOf<HostConfig>()
|
||||
|
||||
fun addRepo(repo: HostConfig) = reposFromBuildFiles.add(
|
||||
if (repo.url.endsWith("/")) repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue