forked from naver/hackday-conventions-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
37 lines (33 loc) · 740 Bytes
/
build.gradle
File metadata and controls
37 lines (33 loc) · 740 Bytes
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
plugins {
id 'org.asciidoctor.convert' version '2.4.0'
id 'org.ajoberstar.git-publish' version '2.1.1'
id 'org.ec4j.editorconfig' version '0.0.3'
}
asciidoctor {
sourceDir = file('src')
sources {
include 'index.adoc'
}
resources {
from(sourceDir) {
include 'images/**'
}
}
backends = ['html']
separateOutputDirs = false
}
gitPublish {
repoUri = 'git@github.com:naver/hackday-conventions-java.git'
branch = 'gh-pages'
contents {
from(asciidoctor.outputDir) {
into '.'
}
}
}
editorconfig {
excludes = ["${buildDir}"]
}
build.dependsOn asciidoctor
gitPublishCommit.dependsOn build
check.dependsOn editorconfigCheck