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

This commit is contained in:
Alex Endfinger committed 2022-07-10 18:20:38 -04:00
1 parent e3d191e277
commit adcff8dcc5
1 file changed
+1 -1
@@ -40,7 +40,7 @@ internal val Project.concreteRootProject: Project
}
if (parent != null) {
return parent!!
return parent!!.concreteRootProject
}
throw RuntimeException("Failed to find concrete root. Did you apply the concrete root plugin?")