kotlin-android-template

Из публичных источников

Android + Kotlin + GitHub Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️

Машинный перевод · Показать оригинал

Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️

ПриложениеКатегория: Мобильные приложения · Инструменты и терминалыOpen sourceданные проверены 16 окт. 2026 г.

Обзор

  • android
  • android-app
  • android-library
  • android-template
  • detekt
  • github-actions
  • github-template
  • github-templates
  • gradle
  • gradle-android-plugin
  • gradle-kotlin-dsl
  • hacktoberfest

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/cortinico/kotlin-android-template ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
AndroidНеизвестно———
iOSНеизвестно———

Релизы

проверено 30 окт. 2026 г.
В источнике релизы не найдены.

Профиль качества

алгоритм quality-v1.0 · оценено 16 окт. 2026 г.
Оценка качества68
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 2 days ago
Документация · 1515
README 7207 chars, description present
Готовность к использованию · 150
install instructions: no; releases: no
Метаданные · 108
3/4 of description, homepage, license, topics
Релизы · 102
0 release(s)
Точность категории · 105
classifier confidence 0.5
Популярность · 108
1913 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 265 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/cortinico/kotlin-android-templateОсновной★ 1 913 звёздактивность 13 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

README

Из cortinico/kotlin-android-template · лицензия MIT · загружено 30 окт. 2026 г.

kotlin-android-template 🤖

[Use this template] [Pre Merge Checks] [License] [Language]

A simple Github template that lets you create an Android/Kotlin project and be up and running in a few seconds.

This template is focused on delivering a project with static analysis and continuous integration already in place.

How to use 👣

Just click on [Use this template] button to create a new repo starting from this template.

Once created don't forget to update the:

Features 🎨

  • 100% Kotlin-only template.
  • 4 Sample modules (Android app, Android library, Kotlin library, Jetpack Compose Activity).
  • Jetpack Compose setup ready to use.
  • Sample Espresso, Instrumentation & JUnit tests.
  • 100% Gradle Kotlin DSL setup.
  • CI Setup with GitHub Actions.
  • Publish to Maven Central with Github Actions.
  • Dependency versions managed via buildSrc.
  • Kotlin Static Analysis via detekt and ktlint.
  • Issues Template (bug report + feature request).
  • Pull Request Template.

Troubleshooting

For help with issues which you might encounter when using this template, please refer to TROUBLESHOOTING.md

Gradle Setup 🐘

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

Dependencies are centralized inside the Gradle Version Catalog in the libs.versions.toml file in the gradle folder.

Static Analysis 🔍

This template is using detekt to analyze the source code, with the configuration that is stored in the detekt.yml file (the file has been generated with the detektGenerateConfig task). It also uses the detekt-formatting plugin which includes the ktlint rules (see https://detekt.dev/docs/rules/formatting/).

CI ⚙️

This template is using GitHub Actions as CI. You don't need to setup any external service and you should have a running CI once you start using this template, just make sure that you turn on the "Read and Write permissions" on the Action Settings of your repository.

There are currently the following workflows available:

Publishing 🚀

The template is setup to be ready to publish a library/artifact on a Maven Repository.

For every module you want to publish you simply have to add the publish plugin:

plugins {
    publish
}

To Maven Central

In order to use this template to publish on Maven Central, you need to configure some secrets on your repository:

Secret nameValue
ORG_GRADLE_PROJECT_NEXUS_USERNAMEThe username you use to access Sonatype's services (such as Nexus and Jira)
ORG_GRADLE_PROJECT_NEXUS_PASSWORDThe password you use to access Sonatype's services (such as Nexus and Jira)
ORG_GRADLE_PROJECT_SIGNING_KEYThe GPG Private key to sign your artifacts. You can obtain it with gpg --armor --export-secret-keys <your@email.here> or you can create one key online on pgpkeygen.com. The key starts with a -----BEGIN PGP PRIVATE KEY BLOCK-----.
ORG_GRADLE_PROJECT_SIGNING_PWDThe passphrase to unlock your private key (you picked it when creating the key).

The template already attaches -sources.jar to your publications via the new AGP publishing DSL.

Once set up, the following workflows will take care of publishing:

  • Publish Snapshot - To publish -SNAPSHOT versions to Sonatype. The workflow is setup to run either manually (with workflow_dispatch) or on every merge.
  • Publish Release - Will publish a new release version of the libraries to Maven Central on tag pushes. You can trigger the workflow also manually if needed.

To Jitpack

If you're using JitPack, you don't need any further configuration and you can just configure the repo on JitPack.

You probably want to disable the [Publish Snapshot] and Publish Release workflows (delete the files), as Jitpack will take care of that for you.

Project Structure

The project includes three sub-projects, each in their own subdirectories:

  • app: The source for the final Android application.
  • library-android: The source for an Android library including UI.
  • library-kotlin: The source for a UI-less Kotlin library.
  • library-compose: The source for a UI library with Jetpack Compose library.

The following additional top-level directories configure & support building the app & projects:

Finally, the following hidden top-level directories provide functionality for specific development systems:

Contributing 🤝

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

Открыть репозиторий ↗