This is the default Jetpack Compose template app that I use as a starting point. There are no themes.xml and colors.xml in the project. By default, Gradle KTS is used, and no testing libraries are included.
For different versions of this template app, refer to different branches of this repository
- Android Studio Electric Eel or later
Tech Stack | High-level Implementation Description |
---|---|
Jetpack Compose | Implement reactive UI using composable functions |
Accompanist System UI Controller | Set system bars color |
New Splash Screen | Implement new splash screen based on API >= that works on all previous API levels |
Material 3 Dynamic Color (API >= 31) | Add dynamic color support for >= API 31 |
Version Catalog (master_vercatalog branch) | Implement version catalog as central declaration of dependencies |
Gradle KTS / Groovy (master_groovy branch) | Migrate build script from Groovy to Gradle KTS |
Material 3 / Material 2 (master_groovy branch) | Use the latest material design |
BuildUtils (own library) | Avoid hard coding build version code (API level) to improve code readability |
- Clean Empty Jetpack Compose App Template - Rename the App Example. See diff.
- How to Convert Android Gradle Groovy to KTS?
- How to add Version Catalog to your Android App?
- Implement Default Splash Screen Prior to Android 12
- Convert Android App to Use Material 3 Design
- master - Gradle KTS (no testing libraries)
- master_withtest - Gradle KTS (with testing libraries)
- master_vercatalog - Gradle KTS (version catalog, no testing libraries)
- master_groovy - Gradle Groovy (no testing libraries, material 2)