diff --git a/spring-web/spring-web.gradle b/spring-web/spring-web.gradle index df797daae639..16551bcc90dc 100644 --- a/spring-web/spring-web.gradle +++ b/spring-web/spring-web.gradle @@ -1,3 +1,7 @@ +plugins { + id 'org.sonarqube' version '7.4.0.8496' +} + description = "Spring Web" apply plugin: "kotlin" @@ -104,3 +108,13 @@ dependencies { testRuntimeOnly("org.glassfish:jakarta.el") testRuntimeOnly("org.hibernate.validator:hibernate-validator") } + +// This module is analyzed as its own SonarQube project. +sonar { + properties { + property 'sonar.projectKey', 'org.springframework:spring-web' + property 'sonar.projectName', 'Spring Web' + property 'sonar.projectVersion', project.version + property 'sonar.sourceEncoding', 'UTF-8' + } +}