From cd49baeaab632803b63e64001a0ce27352bdb601 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 18 Nov 2015 00:01:56 -0800 Subject: [PATCH] Syntax doc. --- documentation/index.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/documentation/index.html b/documentation/index.html index ae265a7..c3d9a25 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -129,6 +129,34 @@ Here are a few noteworthy details about this small build file:
  • The functions kotlinProject and homeDir are supplied by Kobalt and are referred to as "directives" +

    + In terms of syntax, there are basically three different ways to specify values in a build file: +

    + +

    + Remember that a build file is a valid Kotlin source, so you can use function calls instead of literal values, or any other correct Kotlin code in your build file: +

    +
    +version = readVersion()

    Directives