Fix problem where concrete root project may not be found if the hierarchy is deep enough.

This commit is contained in:
Alex Endfinger
2022-07-10 18:20:38 -04:00
parent e3d191e277
commit adcff8dcc5

View File

@ -40,7 +40,7 @@ internal val Project.concreteRootProject: Project
} }
if (parent != null) { if (parent != null) {
return parent!! return parent!!.concreteRootProject
} }
throw RuntimeException("Failed to find concrete root. Did you apply the concrete root plugin?") throw RuntimeException("Failed to find concrete root. Did you apply the concrete root plugin?")