File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 1- plugins {
2- id ' base'
3- id ' maven-publish'
4- id ' org.springframework.restdocs.conventions'
5- }
6-
71allprojects {
82 group = " org.springframework.restdocs"
93 repositories {
@@ -13,29 +7,3 @@ allprojects {
137 }
148 }
159}
16-
17- task api (type : Javadoc ) {
18- group = " Documentation"
19- description = " Generates aggregated Javadoc API documentation."
20- project. rootProject. gradle. projectsEvaluated {
21- Set<String > excludedProjects = [' spring-restdocs-asciidoctor' ]
22- Set<Project > publishedProjects = rootProject. subprojects. findAll { it != project}
23- .findAll { it. plugins. hasPlugin(JavaPlugin ) && it. plugins. hasPlugin(MavenPublishPlugin ) }
24- .findAll { ! excludedProjects. contains(it. name) }
25- dependsOn publishedProjects. javadoc
26- source publishedProjects. javadoc. source
27- classpath = project. files(publishedProjects. javadoc. classpath)
28- destinationDir = project. file " ${ buildDir} /docs/javadoc"
29- options {
30- author = true
31- docTitle = " Spring REST Docs ${ project.version} API"
32- encoding = " UTF-8"
33- memberLevel = " protected"
34- outputLevel = " quiet"
35- source = " 17"
36- splitIndex = true
37- use = true
38- windowTitle = " Spring REST Docs ${ project.version} API"
39- }
40- }
41- }
You can’t perform that action at this time.
0 commit comments