Skip to content

Commit 032916c

Browse files
committed
Merge branch '2.0.x'
2 parents a96cbfc + 245bc31 commit 032916c

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

docs/build.gradle

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -52,38 +52,3 @@ asciidoctor {
5252
backends "spring-html"
5353
}
5454
}
55-
56-
task api (type: Javadoc) {
57-
group = "Documentation"
58-
description = "Generates aggregated Javadoc API documentation."
59-
dependsOn {
60-
subprojects.collect {
61-
it.tasks.getByName("jar")
62-
}
63-
}
64-
project.rootProject.gradle.projectsEvaluated {
65-
Set<String> excludedProjects = ['spring-restdocs-asciidoctor']
66-
Set<Project> publishedProjects = rootProject.subprojects.findAll { it != project}
67-
.findAll { it.plugins.hasPlugin(JavaPlugin) && it.plugins.hasPlugin(MavenPublishPlugin) }
68-
.findAll { !excludedProjects.contains(it.name) }
69-
dependsOn publishedProjects.javadoc
70-
source publishedProjects.javadoc.source
71-
classpath = project.files(publishedProjects.javadoc.classpath)
72-
destinationDir = project.file "${buildDir}/docs/javadoc"
73-
options {
74-
author = true
75-
docTitle = "Spring REST Docs ${project.version} API"
76-
encoding = "UTF-8"
77-
memberLevel = "protected"
78-
outputLevel = "quiet"
79-
source = "1.8"
80-
splitIndex = true
81-
stylesheetFile = file("src/main/javadoc/spring-javadoc.css")
82-
use = true
83-
windowTitle = "Spring REST Docs ${project.version} API"
84-
}
85-
}
86-
87-
destinationDir = new File(buildDir, "api")
88-
}
89-

0 commit comments

Comments
 (0)