From 1dcc3104d339c881c1651fc2c886dc62c0270c94 Mon Sep 17 00:00:00 2001 From: Etienne Studer Date: Fri, 3 Jul 2020 18:16:27 +0200 Subject: [PATCH] Clean up Kotlin DSL example --- example/kotlin/build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example/kotlin/build.gradle.kts b/example/kotlin/build.gradle.kts index 48e1b5c..0a6a63f 100644 --- a/example/kotlin/build.gradle.kts +++ b/example/kotlin/build.gradle.kts @@ -1,7 +1,7 @@ import nu.studer.gradle.rocker.RockerConfig plugins { - id("nu.studer.rocker") version "2.1" + id("nu.studer.rocker") version "2.1.1" id("java") } @@ -13,8 +13,8 @@ val rockerVersion by extra("1.3.0") rocker { create("main") { - templateDir = file("src/rocker") - outputDir = file("src/generated/rocker") - isOptimize = true // optional + templateDir.set(file("src/rocker")) + outputDir.set(file("src/generated/rocker")) + optimize.set(true) // optional } }