Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.22 KB

Kotlin Project Template

Project Template for convenient project setup using convention plugins and version catalogs.

Motivation

Every time I create a new project, I do a lot of routine work, so this repository should decrease amount of this work.

Initializing

  • settings.gradle.kts: Set your root project name
  • gradle/libs.versions.toml: Add your dependencies

Note
TYPESAFE_PROJECT_ACCESSORS are enabled by default. If you don't need this feature, remove it from settings.gradle.kts.

Builtins

Build conventions

This template also provides some useful build conventions.

How to use

Example of build.gradle.kts usage:

plugins {
    id(libs.plugins.conventions.jvm.get().pluginId)
    // or
    id("jvm-convention")
}