Czar
07/08/2019, 9:50 AM2.1.6.RELEASE The thing doesn't work 🙂
1. It generated a project with gradle kotlin-dsl syntax, but file is called build.gradle
2. It used map syntax for extra variables, which then were referenced simply by name, which of course doesn't work
extra["snippetsDir"] = file("build/generated-snippets")
extra["springBootAdminVersion"] = "2.1.5"
instead of
val snippetsDir by extra { file("build/generated-snippets") }
val springBootAdminVersion by extra { "2.1.5" }
3. tasks.asciidoctor {
inputs.dir(snippetsDir)
dependsOn(test)
}
instead of
tasks.asciidoctor {
inputs.dir(snippetsDir)
dependsOn(tasks.test)
}
test is not visible in the asciidoctor lambda directly.
4. The wizard asked for the package to generate, but no sources roots were generated and therefore no packages either.