File tree 2 files changed +12
-2
lines changed
grpc-spring-boot-starter-demo
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ import java.util.stream.Collector
2
+ import java.util.stream.Collectors
3
+
1
4
buildscript {
2
5
repositories {
3
6
mavenCentral()
@@ -95,7 +98,14 @@ task codeCoverageReport(type: JacocoReport) {
95
98
csv. required. set(true )
96
99
}
97
100
dependsOn {
98
- [subprojects* . test, subprojects* . delombok, subprojects* . javadoc]
101
+ subprojects. stream(). flatMap { p ->
102
+ p. getTasks()
103
+ .getAsMap()
104
+ .entrySet()
105
+ .stream()
106
+ .filter {[" test" ," delombok" ," javadoc" ]. contains(it. key) }
107
+ .map {it. value}
108
+ }. collect(Collectors . toList())
99
109
}
100
110
}
101
111
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ configurations.all {
132
132
}
133
133
134
134
test {
135
- jvmArgs(' --add-opens=java.base/java.util=ALL-UNNAMED' )
135
+ jvmArgs(' --add-opens=java.base/java.util=ALL-UNNAMED' , ' --add-opens=java.base/java.lang=ALL-UNNAMED ' )
136
136
}
137
137
bootJar {
138
138
enabled false
You can’t perform that action at this time.
0 commit comments