mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Expose all the parsed files so we can get the pluginUrls.
This commit is contained in:
parent
d122f5c71b
commit
d71cdf7010
1 changed files with 3 additions and 0 deletions
|
@ -55,10 +55,13 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b
|
||||||
return allProjects
|
return allProjects
|
||||||
}
|
}
|
||||||
|
|
||||||
|
val parsedBuildFiles = arrayListOf<ParsedBuildFile>()
|
||||||
|
|
||||||
private fun findProjects(context: KobaltContext): List<Project> {
|
private fun findProjects(context: KobaltContext): List<Project> {
|
||||||
val result = arrayListOf<Project>()
|
val result = arrayListOf<Project>()
|
||||||
buildFiles.forEach { buildFile ->
|
buildFiles.forEach { buildFile ->
|
||||||
val parsedBuildFile = parseBuildFile(context, buildFile)
|
val parsedBuildFile = parseBuildFile(context, buildFile)
|
||||||
|
parsedBuildFiles.add(parsedBuildFile)
|
||||||
val pluginUrls = parsedBuildFile.pluginUrls
|
val pluginUrls = parsedBuildFile.pluginUrls
|
||||||
val buildScriptJarFile = File(KFiles.findBuildScriptLocation(buildFile, SCRIPT_JAR))
|
val buildScriptJarFile = File(KFiles.findBuildScriptLocation(buildFile, SCRIPT_JAR))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue