Skip to content

A template project to jumpstart the creation and publishing of new Kotlin multiplatform libraries.

License

Notifications You must be signed in to change notification settings

christian-draeger/kotlin-library-template

Repository files navigation

Kotlin Library Template CI Maven Central Version

An opinionated Kotlin library template designed to jumpstart your Kotlin library projects with ease. This template provides a robust and scalable foundation for library development, with built-in automation tools to guide you from initial setup to publishing and maintaining your library effortlessly.

🚀 Features

  • ⏩️ Quick Start: No complex setup required. Simply fork this template, adjust the settings, and start coding.
  • 🧱 Modular Structure: Designed from the ground up to support splitting your library into multiple smaller libraries, enabling more granular access and flexibility for users of your project.
  • 🌈 Powered by Kotlin Multiplatform: Offers full flexibility in choosing your target platforms
  • 📦 Automated Publishing: Fully configured Gradle setup for publishing to Maven Central or other package repositories.
  • 🗽 CI independent: Every crucial task like build, test, release, linting, coverage measurement and automatic dependency updates can be executed manually via Gradle tasks.
  • 🔋 Ready to go: Everything you need to get started with your library included:
  • 🤖 CI/CD Ready: Preconfigured GitHub Actions workflows for seamless builds, releases and maintenance.
    • Build, test and release snapshot version on every push to main.
    • One-Click publish to Maven Central with automatic versioning.
    • Scheduled automatic version catalog update updates via PR by using gradle task.

🛠️ Installation and Usage

Even though this template tries to reduce necessary manual steps as much as possible, there are still some things you need to do, since you can not inherit some settings from github template repository.

Please follow the initial setup guide to get started. It won't take more than a few minutes.


📄 License

This repository is licensed under the MIT License.


With this template, you can focus on writing great code while the boilerplate tasks are taken care of. Happy coding! 🎉

About

A template project to jumpstart the creation and publishing of new Kotlin multiplatform libraries.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages