Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Last active August 29, 2015 14:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalmiray/1e38835b75d646d00e51 to your computer and use it in GitHub Desktop.
Save aalmiray/1e38835b75d646d00e51 to your computer and use it in GitHub Desktop.
gradle + jbake 2.3.2 + asciidoctorj 1.5.1
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'me.champeau.gradle:jbake-gradle-plugin:0.2'
classpath 'org.jbake:jbake-core:2.3.2'
classpath 'org.asciidoctor:asciidoctorj:1.5.1'
}
}
apply plugin: 'me.champeau.jbake'
@mojavelinux
Copy link

As of Gradle 2.1, can't this be simplified to:

plugins {
  id "me.champeau.jbake" version "0.2"
}

Though, how do you add Asciidoctor in this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment