Merge pull request #5722 from element-hq/feature/bma/moduleCleanup

Module cleanup
This commit is contained in:
Benoit Marty
2025-11-18 16:14:10 +01:00
committed by GitHub
47 changed files with 642 additions and 407 deletions

View File

@@ -22,6 +22,10 @@ import org.gradle.plugin.use.PluginDependency
fun Project.setupDependencyInjection(
generateNodeFactories: Boolean = shouldApplyAppyxCodegen(),
) {
if (project.path.endsWith(":api")) {
error("api module should not use setupDependencyInjection(). Move the implementation to `:impl` module")
}
val libs = the<LibrariesForLibs>()
// Apply Metro plugin and configure it