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 d724f53
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions example/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
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 +11,8 @@ val rockerVersion by extra("1.3.0")

rocker {
create("main") {
templateDir = file("src/rocker")
outputDir = file("src/generated/rocker")
isOptimize = true // optional
optimize.set(true) // optional
templateDir.set(file("src/rocker"))
outputDir.set(file("src/generated/rocker"))
}
}

0 comments on commit d724f53

Please # to comment.