aboutsummaryrefslogtreecommitdiff
path: root/website/templates/setup/kobalt.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-19 23:55:24 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-19 23:56:44 +0200
commitec6c61d82ac9ac4d8421fdc31176d373d8042e92 (patch)
tree1cf4344beda042ff76a2c8734dc4b39b05b329fb /website/templates/setup/kobalt.html
parent077ab5aed59a344902f4a6255f6aa686a9698533 (diff)
downloadlombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.tar.gz
lombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.tar.bz2
lombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.zip
Added pages for build tools, and updated the android instructions.
Diffstat (limited to 'website/templates/setup/kobalt.html')
-rw-r--r--website/templates/setup/kobalt.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/website/templates/setup/kobalt.html b/website/templates/setup/kobalt.html
new file mode 100644
index 00000000..26adf23d
--- /dev/null
+++ b/website/templates/setup/kobalt.html
@@ -0,0 +1,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> buid 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>