Skip to content
BETAGuardrails are in beta. The library, the configuration format and the CLI command can still change.

Guardrails

kotlin

4 guardrails, all at version v1.

GuardrailDefault severityWhat it checks
kotlin/build-manifesterrorThe project declares a recognised build manifest, so the build is reproducible and tooling can find it.
kotlin/dependencies-lockedwarningThe Gradle build commits the lock files that resolve its dependencies, so the same commit builds from the same versions.
kotlin/gradle-wrapperwarningA Gradle project commits gradlew and the wrapper properties that pin the Gradle version.
kotlin/kotlin-version-pinnedwarningThe Kotlin compiler version is declared in the build, and is no older than the configured floor.

Shared inputs

Every kotlin guardrail declares these inputs, and each one may add its own.

InputDescriptionDefault
projectDirDirectory holding the project, relative to the directory the CLI runs in..

Every guardrail in this category is configured the same way, in the guardrails.checks array of buildnote.json. See Configuring guardrails for every option, and Guardrails to search the whole library.

Buildnote Limited
Registered in England and Wales, Reg: 16140412