Slackbot
03/09/2022, 8:09 PMZak Taccardi
03/09/2022, 8:10 PMZak Taccardi
03/09/2022, 8:12 PMModuleConfig is simply a data class that has some properties that describe a subproject. For example, it has an hasAndroidTests: Boolean that is used to configure whether a subproject…has android tests. And if it does, additional tasks are configured. It also allows us to create groupings of related modules (multiple subprojects that are a part of the same feature) and then run android UI tests on just that group/featureZak Taccardi
03/09/2022, 8:13 PMModuleConfig#isPublished boolean so we can create a root task like ./gradlew publishAssembleDebug (assemble the debug variant of everything we publish)Zak Taccardi
03/09/2022, 8:15 PMbuildSrc - val Modules.ALL: List<ModuleConfig>. I want to move away from this globally defined list, and allow each subproject to register its ModuleConfig itself in its own subproject/build.gradle.kts script.
My thought process is that instead of a List<ModuleConfig>, create a plugin that loops over all subprojects and generates a DomainObjectCollection<ModuleConfig> and then allow consumers to observe itJavi
03/09/2022, 8:18 PMZak Taccardi
03/09/2022, 8:19 PMJavi
03/09/2022, 9:14 PMVampire
03/09/2022, 9:44 PMZak Taccardi
03/09/2022, 9:54 PMVampire
03/09/2022, 10:11 PMJavi
03/09/2022, 10:45 PM