https://github.com/kensa-dev/kensa-build-plugins
Home to the Gradle and Maven plugins for Kensa Kotlin Compiler Plugin integration
https://github.com/kensa-dev/kensa-build-plugins
Last synced: 12 days ago
JSON representation
Home to the Gradle and Maven plugins for Kensa Kotlin Compiler Plugin integration
- Host: GitHub
- URL: https://github.com/kensa-dev/kensa-build-plugins
- Owner: kensa-dev
- License: apache-2.0
- Created: 2025-10-23T14:42:16.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-01-16T11:47:47.000Z (about 1 month ago)
- Last Synced: 2026-01-17T01:48:29.068Z (about 1 month ago)
- Language: Kotlin
- Size: 109 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
#
Kensa Gradle Plugin

A Gradle plugin for the acceptance test framework Kensa. To use the full functionality of Kensa's `@NestedSentence` & `@RenderedValue` annotations (collection and rendering of function arguments), you must apply this plugin to your Kotlin project.
## What it does
- Applies the Kensa Kotlin compiler plugin `dev.kensa.compiler-plugin`
- Adds dependency `dev.kensa:kensa-core:` with capability to applicable compilations. `dev.kensa:core-hooks`
- Exposes a `kensa` extension:
- `enabled`: enable/disable compiler plugin (default: `true`).
- `debug`: extra diagnostics from the compiler plugin (default: `false`).
- `sourceSets`: Kotlin compilation names to apply to (default: `["test"]`).
## Quick start
1. Add the plugin to your build.gradle.kts:
2. Configure the plugin as needed.
3. Build as normal.
``` kotlin
plugins {
id("dev.kensa.gradle-plugin") version ""
}
```
Configure (optional)
``` kotlin
kensa {
enabled.set(true) // default true
debug.set(false) // default false
sourceSets.set(setOf("test", "acceptanceTest")) // default "test"
}
```
Build as normal; the plugin attaches to the selected compilations.