Okt
10
2016
Amazing News! JBake Version 2.5.0 has finally arrived. Get it while it’s hot!
Download
See the official download page for instructions. Or use my examples.
curl
curl -L http://hash.to/5HQ -o /tmp/jbake-2.5.0-bin.zip
sdkman
sdk i jbake
jbake-gradle-plugin
buildscript {
repositories {
maven { url "http://dl.bintray.com/calmdev/gradle-plugins" }
mavenLocal()
jcenter()
}
dependencies {
classpath 'me.champeau.gradle:jbake-gradle-plugin:0.3.0-alpha.1'
}
}
apply plugin: 'me.champeau.jbake'
repositories {
jcenter()
}
jbake{
version = "2.5.0"
asciidoctorjVersion = "1.5.4.1"
}
New Template Engine
My favourite new feature is the groovy MarkupTemplateEngine support.
Try it yourself. Create a new jbake project, bake it, serve it.
mkdir /tmp/groovyMTE-blog cd /tmp/groovyMTE-blog jbake -i -t groovy-mte jbake -b jbake -s
This enables a more readable and modular template design powered by groovy (version 2.4.7).
I’m so happy! Happy baking everyone!