Skip to content
Discussion options

You must be logged in to vote

The app has five modules, split where a split brings a benefit (android/settings.gradle.kts):

  • :core:model is pure JVM Kotlin: the domain types, ScheduleEngine and AlertPlanner. It has no Android SDK, so its tests run in milliseconds with no emulator. Keep Android imports out of it. StabilityPromiseTest also fails on any var there, because compose-stability.conf promises the Compose compiler that the package is stable.
  • :core:designsystem holds the theme, the typography and the Compose components.
  • :core:data holds Room (two databases), Retrofit, the repositories, sync and notifications.
  • :widget is the Glance widget, a module of its own so that it reaches the cached timetable without a depe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:android for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant