🪐 Ceres is a comprehensive Android development framework designed to streamline your app development process. Powered by the latest technologies like Jetpack Compose, Hilt, Coroutines, and Flow, Ceres empowers developers to build modern and efficient Android applications.
This approach triggered the dokkaHtmlMultiModule task for all child projects, potentially generating documentation for modules that don't require it (e.g., BOM or application module).
Updated Approach:
The code has been updated to selectively execute the task for specific modules:
tasks.dokkaHtmlMultiModule {
childProjects.values.map { it.name }.filter {
it != "app" && it != "bom"
}.forEach {
val taskPath = ":${it}:dokkaHtmlMultiModule"
dependsOn(taskPath)
}
}
This revised approach:
Filters out the "app" and "bom" modules from the processing list.
Generates documentation only for the remaining child projects.
Benefits:
Improved build efficiency by excluding unnecessary documentation generation.
Reduced build time by focusing on relevant modules.
Optimized DokkaHtmlMultiModule Task Execution
This pull request refines the execution of the
dokkaHtmlMultiModule
task to generate documentation only for desired modules within the project.Previous Approach:
Previously, the code relied on the following logic:
This approach triggered the
dokkaHtmlMultiModule
task for all child projects, potentially generating documentation for modules that don't require it (e.g., BOM or application module).Updated Approach:
The code has been updated to selectively execute the task for specific modules:
This revised approach:
Benefits: