1
+ plugins {
2
+ // id 'org.asciidoctor.jvm.convert' version '3.2.0'
3
+ // id 'org.asciidoctor.jvm.pdf' version '3.2.0'
4
+ }
5
+
1
6
apply plugin : ' io.spring.convention.docs'
2
7
apply plugin : ' io.spring.convention.spring-test'
3
8
@@ -9,27 +14,24 @@ dependencies {
9
14
10
15
testImplementation project(' :spring-session-data-geode' )
11
16
testImplementation " jakarta.servlet:jakarta.servlet-api"
12
- testImplementation " junit:junit"
13
- testImplementation " org.assertj:assertj-core"
14
- testImplementation " org.mockito:mockito-core"
15
- testImplementation " edu.umd.cs.mtc:multithreadedtc"
16
- testImplementation " org.springframework:spring-test"
17
17
testImplementation " org.springframework.security:spring-security-core"
18
18
testImplementation " org.springframework.security:spring-security-test"
19
19
testImplementation " org.springframework.security:spring-security-web"
20
20
21
21
}
22
22
23
23
def versions = dependencyManagement. managedVersions
24
- // def relativePathToSpringCss = "css/spring.css"
25
- // def pathToSpringCss = new File(project.getBuildDir(), relativePathToSpringCss).getAbsolutePath()
26
24
27
25
asciidoctor {
28
26
clearSources()
27
+ clearSecondarySources()
29
28
sources {
30
29
include " index.adoc"
31
30
include " guides/*.adoc"
32
31
}
32
+ resources {
33
+ duplicatesStrategy DuplicatesStrategy . EXCLUDE
34
+ }
33
35
}
34
36
35
37
asciidoctorj {
@@ -59,13 +61,18 @@ asciidoctorj {
59
61
' version-snapshot' : snapshotBuild,
60
62
' version-milestone' : milestoneBuild,
61
63
' version-release' : releaseBuild
64
+
62
65
}
63
66
64
67
asciidoctorPdf {
65
68
clearSources()
69
+ clearSecondarySources()
66
70
sources {
67
71
include " index.adoc"
68
- // include "guides/*.adoc"
72
+ // include "guides/*.adoc"
73
+ }
74
+ resources {
75
+ duplicatesStrategy DuplicatesStrategy . EXCLUDE
69
76
}
70
77
}
71
78
0 commit comments