OrfeasZ
07/15/2023, 2:40 PMincludeBuild
-ing a third party project in my settings.gradle.kts
and calling one of its functions, which in turn discovers some other gradle projects and adds them to the build by doing something like settings.include(':whatever')
and settings.project(':whatever').projectDir = path
. The problem is that one of those projects does the following: rootProject.allprojects.find {it.plugins.hasPlugin('com.android.application')}
in order to find the build directory of an android subproject (which exists) and use it as a parameter for an externalNativeBuild
step, but it fails to find anything because (I'm guessing) the plugins for all the other subprojects haven't been declared yet (PluginContainer
is empty). Does anyone know what would be the correct way to fix this issue?Vampire
07/15/2023, 5:50 PMOrfeasZ
07/15/2023, 6:03 PMVampire
07/15/2023, 6:14 PMOrfeasZ
07/15/2023, 6:15 PMVampire
07/15/2023, 6:42 PM