<#import "_setup.html" as s> <@s.scaffold title="Kobalt"> <@s.introduction>

To set up lombok with any build tool, you have to specify that the lombok dependency is required to compile your source code, but does not need to be present when running/testing/jarring/otherwise deploying your code. Generally this is called a 'provided' dependency. This page explains how to integrate lombok with the Kobalt build tool.

Lombok is available in maven central, so telling Kobalt to download lombok is easy.

<@s.section title="Configuring Kobalt">

To add lombok as a 'provided' dependency to your project, write your Built.kt like so:

dependencies {
	provided("org.projectlombok:lombok:${version}")
}