KlutterExtension

open class KlutterExtension(project: Project)

Glue for the DSL used in a build.gradle(.kts) file and the Klutter tasks.

Constructors

Link copied to clipboard
constructor(project: Project)

Properties

Link copied to clipboard
var root: File?

Functions

Link copied to clipboard
fun compiler(version: String? = null, dependsOnKore: String? = null)
Link copied to clipboard
fun feature(name: KlutterFeature, enable: Boolean = true)

Enable or disable specific klutter features.

Link copied to clipboard
fun include(simpleModuleName: String, version: String? = null, test: Boolean = false)

Add klutter implementation dependency to this project.

Link copied to clipboard
fun includeTest(simpleModuleName: String, version: String? = null)

Add klutter testImplementation dependency to this project.

Link copied to clipboard
fun plugin(lambda: KlutterPluginBuilder.() -> Unit)

Configure the Gradle Plugin for a klutter plugin (consumer or producer).