mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Apply plug-ins after running the interceptors.
This commit is contained in:
parent
1a58b70a8e
commit
f29ec48ddf
2 changed files with 7 additions and 4 deletions
|
@ -201,12 +201,18 @@ private class Main @Inject constructor(
|
|||
}
|
||||
|
||||
//
|
||||
// Run all their dependencies through the IDependencyInterceptors
|
||||
// Run all the dependencies through the IDependencyInterceptors
|
||||
//
|
||||
runClasspathInterceptors(allProjects)
|
||||
|
||||
log(2, "Final list of repos:\n " + Kobalt.repos.joinToString("\n "))
|
||||
|
||||
//
|
||||
// Call apply() on all plug-ins now that the repos are set up
|
||||
//
|
||||
plugins.applyPlugins(Kobalt.context!!, allProjects)
|
||||
|
||||
|
||||
if (args.projectInfo) {
|
||||
// --projectInfo
|
||||
allProjects.forEach {
|
||||
|
|
|
@ -55,9 +55,6 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b
|
|||
// Find all the projects in the build file, possibly compiling them
|
||||
//
|
||||
val projectResult = findProjects(context)
|
||||
if (projectResult.taskResult.success) {
|
||||
plugins.applyPlugins(context, projectResult.projects)
|
||||
}
|
||||
|
||||
return projectResult
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue