diff --git a/spring-orm/spring-orm.gradle b/spring-orm/spring-orm.gradle index e9cd86a53dd9..7488c519396d 100644 --- a/spring-orm/spring-orm.gradle +++ b/spring-orm/spring-orm.gradle @@ -1,3 +1,7 @@ +plugins { + id 'org.sonarqube' version '7.4.0.8496' +} + description = "Spring Object/Relational Mapping" dependencies { @@ -21,3 +25,13 @@ dependencies { testImplementation("org.hsqldb:hsqldb") testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api") } + +// This module is analyzed as its own SonarQube project. +sonar { + properties { + property 'sonar.projectKey', 'org.springframework:spring-orm' + property 'sonar.projectName', 'Spring Object/Relational Mapping' + property 'sonar.projectVersion', project.version + property 'sonar.sourceEncoding', 'UTF-8' + } +}