-
Notifications
You must be signed in to change notification settings - Fork 2
/
master-async-ratpack.gradle
61 lines (51 loc) · 1.11 KB
/
master-async-ratpack.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
61
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.11'
}
}
plugins {
id 'io.ratpack.ratpack-groovy' version '1.5.0-rc-2'
}
apply plugin: 'idea'
apply plugin: 'org.asciidoctor.convert'
asciidoctor {
sourceDir = rootDir
sources {
include 'README.adoc'
}
backends = ['html5', 'pdf']
attributes 'toc': 'auto',
'source-highlighter': 'coderay',
icons : 'font',
numbered : '',
idprefix : '',
test: 'src/test/groovy',
imagesdir: 'img',
docinfodir: 'docinfo',
docinfo: 'shared'
resources {
from (sourceDir) {
include 'img/**'
}
}
}
repositories {
jcenter()
}
dependencies {
testCompile ratpack.dependency('groovy-test')
testCompile ('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: "groovy-all"
}
}
idea {
project {
vcs 'Git'
languageLevel '1.8'
jdkName '1.8'
}
}