Skip to content

Commit 675882e

Browse files
Add SonarQube plugin and configuration
1 parent 2bf5cc7 commit 675882e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
id("io.papermc.paperweight.userdev") version "2.0.0-beta.19"
99
kotlin("plugin.serialization") version "2.1.20"
1010
id("maven-publish")
11+
id("org.sonarqube") version "7.0.1.6134"
1112
}
1213

1314
group = "cc.modlabs"
@@ -16,6 +17,13 @@ version = System.getenv("VERSION_OVERRIDE") ?: Calendar.getInstance(TimeZone.get
1617
"${get(Calendar.YEAR)}.${get(Calendar.MONTH) + 1}.${get(Calendar.DAY_OF_MONTH)}.${String.format("%02d%02d", get(Calendar.HOUR_OF_DAY), get(Calendar.MINUTE))}"
1718
}
1819

20+
sonar {
21+
properties {
22+
property("sonar.projectKey", "ModLabsCC_KPaper_b16df947-ed31-4251-96c3-810b8516f8cc")
23+
property("sonar.projectName", "KPaper")
24+
}
25+
}
26+
1927
repositories {
2028
mavenCentral()
2129
maven("https://nexus.modlabs.cc/repository/maven-mirrors/")

0 commit comments

Comments
 (0)