ihridoydas / BaseTemplateAndroidApp

This repository serves as a template equipped with essential developer tools, ensuring a seamless setup process for a confident and efficient start.
Apache License 2.0
6 stars 1 forks source link

Base Template Android App

Kickstart your Android app development with this GitHub template repository. Designed by Hridoy Chandra Das, it provides essential tools without imposing code-writing opinions.

Why This Template?

Inspired by AndroidAppTemplate.

Getting Started

  1. Click "Use this template" to create a repository under your account.

    
    templateName             : "template",
    templateAppId            : "template.app.id",
    templateMaterialThemeName: "TemplateTheme",
    newTemplateName          : "Project", [Enter your project name here]
    newTemplateAppId         : "domain.yourname.app", [Enter your project package name here]
    newMaterialThemeName     : "MyMaterialTheme", [Enter your project theme name here]
    useHiltDependencies      : true,
    useRoomDependencies      : true,
    useRetrofitDependencies  : true,
    usePaparazziDependencies : true,
    
  2. Customize by adjusting setup.gradle and running ./gradlew renameAllModules.

What's Included

Explore third-party dependencies and documentation in /documentation. Notable inclusions:

Dependency Setup

Dependencies are structured in /buildscripts. App module dependencies defined using a Gradle version catalog in libs.versions.toml.

Danger Checks

Uses Danger for PR checks. See Dangerfile. Set up a Danger API key in GitHub secrets for GitHub Actions. we have a GitHub Actions workflow for Danger checks. In order for that to work properly, you'll need to give Danger permission to comment on your repository.

You can do so by navigating to Repository Settings -> Actions -> General, scroll down to Workflow Permissions and set the permissions to read and write.

Templates

Includes Pull Request Template for organized PR descriptions.