Skip to content

Files

Latest commit

Feb 16, 2025
fb04061 · Feb 16, 2025

History

History
This branch is 3 commits ahead of, 96 commits behind kotest/kotest:master.

buildSrc

README.md

Convention plugins

Loading
stateDiagram-v2
  state "kotlin-conventions" as base
  state "kotest-jvm-conventions" as jvm
  state "kotest-js-conventions" as js
  state "kotest-native-conventions" as native
  state "kotest-publishing-conventions" as publishing
  state "kotest-multiplatform-library-conventions" as mpplib

  jvm --> base
  js --> base
  native --> base
  mpplib --> native
  mpplib --> jvm
  mpplib --> js
  mpplib --> publishing

Kotlin conventions

Configures a base project which uses kotlin-multiplatform (with no targets specified).

Here we configure anything that should apply to every project, such as common plugins, repositories which should be used, etc.

Kotest JVM conventions

Adds a JVM target and sets basic JVM options

Kotest JS conventions

Adds JS targets

Kotest native conventions

Adds native targets and creates a common native source set (desktopMain / desktopTest)

Kotest publishing conventions

Adds everything related to signing and publishing the libraries

Kotest Multiplatform library conventions

A published library which uses all multiplatform targets. Adds signing and all multiplatform targets.