diff --git a/build.gradle b/build.gradle index 21a9af1e84c..b5723ad60b2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,16 @@ +buildscript { + repositories { + jcenter() + } + + dependencies { + classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0' + } +} + apply plugin: 'java' apply plugin: 'application' +apply plugin: 'org.asciidoctor.gradle.asciidoctor' apply from: 'gradle/javafx.gradle' version = '0.1.0-SNAPSHOT' diff --git a/src/asciidoc/hello.adoc b/src/asciidoc/hello.adoc new file mode 100644 index 00000000000..9b4415d56a4 --- /dev/null +++ b/src/asciidoc/hello.adoc @@ -0,0 +1,14 @@ += Hello, AsciiDoc! +Doc Writer +:showtitle: + +An introduction to http://asciidoc.org[AsciiDoc]. + +== First Section + +* item 1 +* item 2 + +[source,ruby] +puts "Hello, World!" +