From ec6c61d82ac9ac4d8421fdc31176d373d8042e92 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 19 Jun 2017 23:55:24 +0200 Subject: Added pages for build tools, and updated the android instructions. --- website/templates/setup/kobalt.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 website/templates/setup/kobalt.html (limited to 'website/templates/setup/kobalt.html') 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> +

+ 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 buid 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}")
+}
+

+ + -- cgit