Skip to content

Commit

Permalink
Clean up Kotlin DSL example
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennestuder committed Jul 3, 2020
1 parent 1e123d1 commit 1dcc310
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")
}

Expand All @@ -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
}
}

0 comments on commit 1dcc310

Please # to comment.