forked from carlo-mr/concordion-collapse-output-extension
/
build.gradle
executable file
·40 lines (34 loc) · 947 Bytes
/
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
apply from: 'https://raw.githubusercontent.com/concordion/concordion-extension-build/master/extension-build.gradle'
apply plugin: "java"
description = 'An extension to Concordion that allows to collapse tags with a specific styleclass in the output'
ext {
developers = {
developer {
id 'carlo-mr'
name 'Carlo MR'
roles { role 'Project owner' }
}
}
inceptionYear = '2015'
}
gitPublish {
repoUri = 'git@github.com:concordion/concordion-collapse-output-extension.git'
branch = 'gh-pages'
contents {
from 'docs'
from ('build/reports/spec/') {
into 'spec'
}
from ('build/docs/javadoc/') {
into 'api'
}
}
}
test.dependsOn cleanTest
test {
systemProperties['concordion.output.dir'] = "$reporting.baseDir/spec"
outputs.upToDateWhen { false } // force it to run even if test code hasn't changed
testLogging {
events "passed", "skipped", "failed", "standardError"
}
}