-
Notifications
You must be signed in to change notification settings - Fork 96
/
build.gradle
60 lines (53 loc) · 1.35 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
dependencies {
classpath 'org.asciidoctor:asciidoctorj-epub3:1.5.0-alpha.6'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.15'
}
}
plugins {
id 'org.asciidoctor.convert' version '1.5.3'
}
apply plugin: 'java'
apply plugin: 'org.asciidoctor.convert'
version = '1.0.0-SNAPSHOT'
asciidoctorj {
version = '1.5.5'
}
asciidoctor {
sourceDir 'src/docs/asciidoc'
sources {
include 'TOS & Thinkscript Collection.adoc'
}
outputDir './'
resources {
from(sourceDir) {
include 'images/**'
}
}
separateOutputDirs false
backends 'html5', 'pdf', 'epub3', 'docbook'
attributes 'build-gradle': file('build.gradle'),
'endpoint-url': 'http://example.org',
'source-highlighter': 'coderay',
'imagesdir': './images',
'toc': 'left',
'icons': 'font',
'setanchors': '',
'idprefix': '',
'idseparator': '-',
'docinfo1': ''
}
// asciidoctor {
// backends 'html5', 'pdf', 'epub3', 'docbook'
// attributes {
// 'build-gradle': file('build.gradle'),
// 'endpoint-url': 'http://example.org',
// 'source-highlighter': 'coderay',
// 'imagesdir': './images',
// 'toc': 'left',
// 'icons': 'font',
// 'setanchors': '',
// 'idprefix': '',
// 'idseparator': '-',
// 'docinfo1': ''
// }