kotlin
4 guardrails, all at version v1.
| Guardrail | Default severity | What it checks |
|---|---|---|
kotlin/build-manifest | error | The project declares a recognised build manifest, so the build is reproducible and tooling can find it. |
kotlin/dependencies-locked | warning | The Gradle build commits the lock files that resolve its dependencies, so the same commit builds from the same versions. |
kotlin/gradle-wrapper | warning | A Gradle project commits gradlew and the wrapper properties that pin the Gradle version. |
kotlin/kotlin-version-pinned | warning | The 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.
| Input | Description | Default |
|---|---|---|
projectDir | Directory 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.