-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.groovy
27 lines (22 loc) · 899 Bytes
/
Config.groovy
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
// Path where the docToolchain will produce the output files.
// This path is appended to the docDir property specified in gradle.properties
// or in the command line, and therefore must be relative to it.
outputPath = 'docs'
inputPath = '.'
inputFiles = [
[file: 'index.adoc', formats: ['html', 'pdf', 'docbook']]
]
taskInputsDirs = ["${inputPath}/src",
]
taskInputsFiles = ["${inputPath}/index.adoc"]
confluence = [:]
confluence.with {
input = [[file: "build/"]]
api = '<your API>'
spaceKey = 'arc42'
createSubpages = false
pagePrefix = ''
pageSuffix = ''
credentials = "${System.getenv('USER')}:${System.getenv('PASSWORD')}".bytes.encodeBase64().toString()
extraPageContent = '<ac:structured-macro ac:name="warning"><ac:parameter ac:name="title" /><ac:rich-text-body>This is a generated page, do not edit!</ac:rich-text-body></ac:structured-macro>'
}