Skip to content

Repository files navigation

Eignex

KBuild

Maven Central Build License

This repository is intended for internal use, but feel free to use however you want.


Overview

Five convention plugins:

  1. jvm: Kotlin/JVM libraries. Dokka, Kover, and testing defaults.
  2. kmp: Kotlin Multiplatform libraries. Common testing and toolchains.
  3. cli: Kotlin Multiplatform CLI applications. JVM and native executables on consumer-declared targets, no publishing. releaseAssets collects stripped native binaries (<name>-<version>-<os>-<arch>), the JVM dist zip, and SHA256SUMS into build/release-assets/.
  4. publish: Maven Central publishing, including POM generation and GPG signing.
  5. lint: Shared Detekt configuration with Eignex style suppressions.

The jvm and kmp plugins both apply publish and lint, so in practice you apply one of them for a library, or cli for an application. The cli plugin needs targets declared by the consumer plus an eignexCli { mainClass = "..."; entryPoint = "..." } block.

For your own projects, fork and publish your own version.

About

Build plugin for all our repos. Intended for internal use.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages