File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
grpc-spring-boot-starter-demo Expand file tree Collapse file tree 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+
14buildscript {
25 repositories {
36 mavenCentral()
@@ -95,7 +98,14 @@ task codeCoverageReport(type: JacocoReport) {
9598 csv. required. set(true )
9699 }
97100 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())
99109 }
100110}
101111
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ configurations.all {
132132}
133133
134134test {
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 ' )
136136}
137137bootJar {
138138 enabled false
You can’t perform that action at this time.
0 commit comments