aboutsummaryrefslogtreecommitdiff
path: root/website/templates/setup/kobalt.html
blob: beb60d8c1cf39c9d1f39b2b018990cb85e9b6fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<#import "_setup.html" as s>

<@s.scaffold title="Kobalt">
	<@s.introduction>
		<p>
			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 <a href="http://beust.com/kobalt/home/index.html">Kobalt</a> build tool.
		</p><p>
			Lombok is available in maven central, so telling Kobalt to download lombok is easy.
		</p>
	</@s.introduction>

	<@s.section title="Configuring Kobalt">
		<p>
			To add lombok as a 'provided' dependency to your project, write your <code>Built.kt</code> like so:<pre>
dependencies {
	provided("org.projectlombok:lombok:${version}")
}</pre>
		</p>
	</@s.section>
</@s.scaffold>