Skip to content

Commit ec71bcd

Browse files
committed
Update SonarQube plugin version
- Removed jacocoCargoReport task from `build.gradle`. - Updated SonarQube Gradle plugin to version 7.0.1.6134
1 parent 43ca27e commit ec71bcd

File tree

2 files changed

+1
-35
lines changed

2 files changed

+1
-35
lines changed

build.gradle

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
239205
tasks.register('cleanBootTomcatDir') {
240206
String tomcatBase = file("scripts/boot/tomcat/").getAbsolutePath()
241207
delete(java.nio.file.Path.of(tomcatBase))

dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ libraries.xmlUnit = "org.xmlunit:xmlunit-assertj"
116116
libraries.springBootGradlePlugin = "org.springframework.boot:spring-boot-gradle-plugin:${versions.springBootVersion}"
117117
libraries.springDependencyManagementGradlePlugin = "io.spring.gradle:dependency-management-plugin"
118118
libraries.gradleJcocoPlugin = "org.barfuin.gradle.jacocolog:gradle-jacoco-log:3.1.0"
119-
libraries.sonarqubePlugin = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:6.3.1.5724"
119+
libraries.sonarqubePlugin = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:7.0.1.6134"

0 commit comments

Comments
 (0)