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
commit 310848ee38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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