buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'me.champeau.gradle:jbake-gradle-plugin:0.2'
// optional, if you use asciidoctor markup
classpath 'org.asciidoctor:asciidoctor-java-integration:0.1.4'
// optional, if you use freemarker template engine
classpath 'org.freemarker:freemarker:2.3.19'
classpath 'org.ajoberstar:gradle-git:0.12.0'
}
}
apply plugin: 'me.champeau.jbake'
apply plugin: 'org.ajoberstar.github-pages'
githubPages {
repoUri = 'git@github.com:willis7/blog.git'
pages {
from(file('build/jbake')) {
into '.'
}
}
}