File tree 4 files changed +23
-3
lines changed
4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,6 @@ subprojects { subproject ->
87
87
}
88
88
89
89
plugins. withType(MavenPublishPlugin ) {
90
- subproject. apply from : " ${ rootProject.projectDir} /gradle/publish-maven.gradle"
91
-
92
90
javadoc {
93
91
description = " Generates project-level javadoc for use in -javadoc jar"
94
92
options. memberLevel = org.gradle.external.javadoc.JavadocMemberLevel . PROTECTED
@@ -107,7 +105,9 @@ subprojects { subproject ->
107
105
}
108
106
}
109
107
}
110
-
108
+ plugins. withType(MavenPublishPlugin ) {
109
+ subproject. apply from : " ${ rootProject.projectDir} /gradle/publish-maven.gradle"
110
+ }
111
111
tasks. withType(GenerateModuleMetadata ) {
112
112
enabled = false
113
113
}
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ plugins.withType(MavenPublishPlugin) {
21
21
}
22
22
}
23
23
}
24
+ project. plugins. withType(JavaPlatformPlugin ) {
25
+ from components. javaPlatform
26
+ }
24
27
pom {
25
28
name = project. provider { project. description }
26
29
description = project. provider { project. description }
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ settings.gradle.projectsLoaded {
35
35
36
36
include " docs"
37
37
include " spring-restdocs-asciidoctor"
38
+ include " spring-restdocs-bom"
38
39
include " spring-restdocs-core"
39
40
include " spring-restdocs-mockmvc"
40
41
include " spring-restdocs-platform"
Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id " java-platform"
3
+ id " maven-publish"
4
+ }
5
+
6
+ description = " Spring REST Docs Bill of Materials"
7
+
8
+ dependencies {
9
+ constraints {
10
+ api(project(" :spring-restdocs-asciidoctor" ))
11
+ api(project(" :spring-restdocs-core" ))
12
+ api(project(" :spring-restdocs-mockmvc" ))
13
+ api(project(" :spring-restdocs-restassured" ))
14
+ api(project(" :spring-restdocs-webtestclient" ))
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments