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 build declares the Kotlin compiler version, and it is no older than the configured floor. |
Shared inputs
Every kotlin guardrail declares these inputs. Individual guardrails can add their own.
| Input | Description | Default |
|---|---|---|
projectDir | Directory holding the project, relative to the directory the CLI runs in. | . |
You configure every guardrail in this category the same way, in the guardrails.checks array of buildnote.json. Configuring guardrails lists every option, and Guardrails lets you search the whole library.