Giter Club home page Giter Club logo

android-kotlin-compose-template's Introduction

kotlin-android-compose-template

Workflow result

A simple Github template to create an Android/Kotlin, Compose ready project.

A major chunk of development time is taken up by setting up DSL, static analysis and CI. This template is made with an aim to reduce this redundant work and be ready with a working repository where all these are handled.

How to use

Copy this repository by pressing the Use this template button. Clone your repository and open it in the latest Android Studio (Canary build).

Once created don't forget to update the:

Features

  • Kotlin-only template.
  • Compose-Ready
  • Gradle Kotlin DSL setup.
  • Dependency versions managed via buildSrc.
  • Sample Compose Test.
  • Kotlin Static Analysis via ktlint.
  • Spotless for code formatting.
  • CI Setup with GitHub Actions.
  • Issues Template (bug report + feature request).
  • Pull Request Template.

Gradle Setup

This template uses Gradle Kotlin DSL

Dependencies are placed inside the Dependencies.kt file in the buildSrc folder inspired by Jetcaster

Static Analysis

This template is using ktlint with the spotless plugin to format your code. Run ./gradlew app:spotlessApply to automatically format your code.

Contributing

Feel free to open a issue or submit a pull request for any bugs/improvements.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.