diff --git a/spring-tx/spring-tx.gradle b/spring-tx/spring-tx.gradle index 6db53d15a7de..f51b427d4c83 100644 --- a/spring-tx/spring-tx.gradle +++ b/spring-tx/spring-tx.gradle @@ -1,3 +1,7 @@ +plugins { + id 'org.sonarqube' version '7.4.0.8496' +} + description = "Spring Transaction" apply plugin: "kotlin" @@ -26,3 +30,13 @@ dependencies { testImplementation("io.projectreactor:reactor-test") testImplementation("jakarta.persistence:jakarta.persistence-api") } + +// This module is analyzed as its own SonarQube project. +sonar { + properties { + property 'sonar.projectKey', 'org.springframework:spring-tx' + property 'sonar.projectName', 'Spring Transaction' + property 'sonar.projectVersion', project.version + property 'sonar.sourceEncoding', 'UTF-8' + } +}