/newsfeed

Primary LanguageKotlin

News Feed

Features 🎨

  • 100% Kotlin-only project.
  • Coroutine, Jetpack compose, Hilt, Flow, AndroidX,MVVM, Junit Tests.
  • 100% Gradle Kotlin DSL setup.
  • Dependency versions managed via buildSrc.
  • CI Setup with GitHub Actions.
  • Kotlin Static Analysis via ktlint.

Gradle Setup 🐘

This project is using Gradle Kotlin DSL as well as the Plugin DSL to setup the build.

Dependencies are centralized inside the buildSrc folder. This provides convenient auto-completion when writing your gradle files.

Static Analysis 🔍

This project is using ktlint to format your code. To reformat all the source code as well as the buildscript you can run

# Run lint and display issues
./gradlew ktlintCheck

To fix the issues, run:

# Run lint and try to fix issues automatically (not all issues are fixable this way)
./gradlew ktlintFormat

CI ⚙️

There are currently the following workflows available:

How To Build

Pull the code on this branch, import into Android Studio, from there you can run it like a standard android project project or run ./gradlew assembleDebug. Further notes can be found here https://developer.android.com/studio/build/building-cmdline#DebugMode

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4