jbake-org/jbake-gradle-plugin — pull request #5 by mperry (2014-06-18 01:01:50+00:00)
Title: Add init, remove, clean and server tasks

Added the following tasks:

- jbakeInit: uses the fidbake template to initialise the project
- jbakeRemove: removes all jbake files (deletes src/jbake)
- jbakeClean: deletes the generated content of jbake
- jbakeServer: runs the server

I added the missing runtime dependencies that you have to hunt around for that everyone will probably have to solve at some stage (jetty, freemarker, pegdown, asciidoctor, thymelfeaf).

The build gradle file I used to test the updated plugin is below.

build.gradle:
----------
buildscript {
repositories {
mavenLocal() // temporary: for updated jbake-gradle-plugin
jcenter()
// fidbake template
maven {
url "https://oss.sonatype.org/content/groups/public"
}
}
dependencies {
classpath "me.champeau.gradle:jbake-gradle-plugin:0.2.1-SNAPSHOT"
}
}

apply plugin: 'me.champeau.jbake'

-------------