jbake-org / jbake-gradle-plugin

A Gradle plugin for JBake
Other
45 stars 21 forks source link

Support for `jbake -i` #30

Closed ysb33r closed 6 years ago

ysb33r commented 7 years ago

It would be useful to have a jbakeInit tasks that effectively runs jbake -i. Ideally one would want to do

touch settings.gradle
vi build.gradle  # Only had the plugins block as described in the docs
gradle wrapper
./gradlew jbakeInit --jbake-template=<freemarker|groovy|groovy-mte|thymeleaf|jade>

This means quicker start-up for a new JBake project with Gradle.

jonbullock commented 7 years ago

We're planning to improve the init feature so the example projects aren't tied to JBake releases. Lazybones is one option we're exploring and there has been a suggestion posted to the mailing list recently about using GitHub releases which looks promising: https://groups.google.com/d/msg/jbake-user/eQNZYsk8aKM/0Uw-QJTTCAAJ