Skip to content

Commit 9d35a45

Browse files
committed
add SonarQube plugin to build.gradle.kts
1 parent ebda47b commit 9d35a45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id("java")
33
id("com.github.ben-manes.versions") version "0.51.0"
4+
id("org.sonarqube") version "7.1.0.6387"
45
application
56
}
67

@@ -27,4 +28,11 @@ application {
2728

2829
tasks.getByName("run", JavaExec::class) {
2930
standardInput = System.`in`
31+
}
32+
33+
sonar {
34+
properties {
35+
property("sonar.projectKey", "snevg04_java-project-61")
36+
property("sonar.organization", "sn-evg-04")
37+
}
3038
}

0 commit comments

Comments
 (0)