@@ -202,40 +202,6 @@ tasks.register('integrationTest', Test) {
202202 dependsOn subprojects. integrationTest
203203}
204204
205- // Jacoco coverage reports:
206- //
207- // For unit test coverage (recommended):
208- // ./gradlew test jacocoTestReport
209- // Reports in each module: <module>/build/reports/jacoco/test/html/index.html
210- //
211- // For aggregated coverage across all modules:
212- // ./gradlew test jacocoAggregatedReport
213- // Report: build/reports/jacoco/jacocoAggregatedReport/html/index.html
214- //
215- // Note: Integration test coverage (jacocoIntegrationReport) requires running
216- // integration tests which need special setup (UAA server, database, LDAP).
217- // Use ./run-integration-tests.sh for that purpose.
218- tasks. register(' jacocoCargoReport' , JacocoReport ) {
219- def javaProjects = subprojects. findAll {
220- it. pluginManager. hasPlugin(' java' )
221- }
222-
223- // Collect execution data from all subprojects' integration tests
224- executionData(fileTree(layout. buildDirectory). include(" jacoco/*.exec" ))
225- javaProjects. each { subproject ->
226- executionData. from(fileTree(subproject. layout. buildDirectory). include(" jacoco/integrationTest.exec" ))
227- }
228-
229- FileTree sourceTree = files(). asFileTree
230- FileTree classTree = files(). asFileTree
231- javaProjects. each {
232- sourceTree + = it. sourceSets. main. allJava
233- classTree + = it. sourceSets. main. output. asFileTree
234- }
235- additionalSourceDirs = sourceTree
236- additionalClassDirs = classTree
237- }
238-
239205tasks. register(' cleanBootTomcatDir' ) {
240206 String tomcatBase = file(" scripts/boot/tomcat/" ). getAbsolutePath()
241207 delete(java.nio.file.Path . of(tomcatBase))
0 commit comments