Skip to content

Multi module setup, to keep compile time fast #5

@louis993546

Description

@louis993546

As a participant,
I want to have fast compile time,
so that I don't have to waste time waiting when there is a 15 minutes time limit.


There are 2 parts to this story:

1. Multi module setup

Most like the app module will remain as a fairly small module, and each patch will have its own module, so that if you are just editing your composable, only your module and app will be re-compile

(Further improvements: move core functionalities from app into another module, e.g. #1 can be in its own module)

2. Make it easy for people to create new modules with batteries included

If I want each patch to have their own module, I want to make it very easy to create module with all the setup ready

  1. Update settings.gradle.kts
  2. Add the new module as a dependency to app's dependency
  3. In the new module, it should have basics included (Compose, M3, Icons)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🌟 nice to have 😍Would make the project more fun/easy/intuitive, but we can live without it just in case.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions