Skip to content

Commit 93c18ba

Browse files
Fix SQ issues pre-release (#396)
1 parent 4c9a17c commit 93c18ba

File tree

9 files changed

+12
-9
lines changed

9 files changed

+12
-9
lines changed

build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,14 @@ artifactory {
289289
}
290290

291291
tasks.register<CreateKotlinRuleStubsTask>("setupRuleStubs") {
292+
group = "Rules"
293+
description = "Generate required stubs for a new Kotlin rule"
292294
finalizedBy(tasks.findByPath(":generateRuleMetadata"))
293295
}
294296

295297
tasks.register<CreateKotlinGradleRuleStubsTask>("setupGradleRuleStubs") {
298+
group = "Rules"
299+
description = "Generate required stubs for a new Kotlin Gradle DSL rule"
296300
finalizedBy(tasks.findByPath(":generateRuleMetadata"))
297301
}
298302

sonar-kotlin-api/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ dependencies {
1414
implementation(libs.gson)
1515
implementation(libs.sonar.analyzer.commons.recognizers)
1616

17+
testRuntimeOnly(testLibs.junit.engine)
1718
testImplementation(libs.slf4j.api)
1819
testImplementation(testLibs.junit.api)
1920
testImplementation(testLibs.junit.params)
20-
testRuntimeOnly(testLibs.junit.engine)
2121
testImplementation(testLibs.assertj.core)
2222
testImplementation(testLibs.mockito.core)
2323
testImplementation(testLibs.mockk)
2424
testImplementation(testLibs.classgraph)
2525
testImplementation(testLibs.sonar.analyzer.test.commons)
2626
testImplementation(testLibs.sonar.plugin.api.impl)
2727
testImplementation(testLibs.sonar.plugin.api.test.fixtures)
28-
2928
testImplementation(project(":sonar-kotlin-test-api"))
3029
}
3130

sonar-kotlin-checks/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ dependencies {
1515

1616
implementation(project(":sonar-kotlin-api"))
1717

18+
testRuntimeOnly(testLibs.junit.engine)
1819
testImplementation(testLibs.junit.api)
1920
testImplementation(testLibs.junit.params)
20-
testRuntimeOnly(testLibs.junit.engine)
2121
testImplementation(testLibs.assertj.core)
2222
testImplementation(testLibs.mockito.core)
2323
testImplementation(testLibs.mockk)

sonar-kotlin-external-linters/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies {
1616

1717
implementation(project(":sonar-kotlin-api"))
1818

19+
testRuntimeOnly(testLibs.junit.engine)
1920
testImplementation(libs.slf4j.api)
2021
testImplementation(testLibs.junit.api)
2122
testImplementation(testLibs.junit.params)
22-
testRuntimeOnly(testLibs.junit.engine)
2323
testImplementation(testLibs.assertj.core)
2424
testImplementation(testLibs.mockito.core)
2525
testImplementation(testLibs.mockk)

sonar-kotlin-gradle/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ dependencies {
2222
implementation(project(":sonar-kotlin-api"))
2323
implementation(project(":sonar-kotlin-surefire"))
2424

25+
testRuntimeOnly(testLibs.junit.engine)
2526
testImplementation(libs.slf4j.api)
2627
testImplementation(testLibs.junit.api)
2728
testImplementation(testLibs.junit.params)
28-
testRuntimeOnly(testLibs.junit.engine)
2929
testImplementation(testLibs.assertj.core)
3030
testImplementation(testLibs.mockito.core)
3131
testImplementation(testLibs.mockk)

sonar-kotlin-metrics/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ dependencies {
2020
implementation(project(":sonar-kotlin-api"))
2121
implementation(project(":sonar-kotlin-checks"))
2222

23+
testRuntimeOnly(testLibs.junit.engine)
2324
testImplementation(testLibs.junit.api)
2425
testImplementation(testLibs.junit.params)
25-
testRuntimeOnly(testLibs.junit.engine)
2626
testImplementation(testLibs.assertj.core)
2727
testImplementation(testLibs.mockito.core)
2828
testImplementation(testLibs.mockk)

sonar-kotlin-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ dependencies {
3131
implementation(project(":sonar-kotlin-surefire"))
3232
implementation(project(":sonar-kotlin-checks"))
3333

34+
testRuntimeOnly(testLibs.junit.engine)
3435
testImplementation(libs.slf4j.api)
3536
testImplementation(testLibs.junit.api)
3637
testImplementation(testLibs.junit.params)
37-
testRuntimeOnly(testLibs.junit.engine)
3838
testImplementation(testLibs.assertj.core)
3939
testImplementation(testLibs.mockito.core)
4040
testImplementation(testLibs.mockk)

sonar-kotlin-surefire/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ dependencies {
1616

1717
implementation(project(":sonar-kotlin-api"))
1818

19+
testRuntimeOnly(testLibs.junit.engine)
1920
testImplementation(libs.slf4j.api)
2021
testImplementation(testLibs.junit.api)
2122
testImplementation(testLibs.junit.params)
22-
testRuntimeOnly(testLibs.junit.engine)
2323
testImplementation(testLibs.assertj.core)
2424
testImplementation(testLibs.mockito.core)
2525
testImplementation(testLibs.mockk)

utils-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ dependencies {
2121
implementation(libs.gson)
2222
implementation(utilLibs.jcommander)
2323

24+
testRuntimeOnly(testLibs.junit.engine)
2425
testImplementation(testLibs.junit.api)
2526
testImplementation(testLibs.assertj.core)
2627
testImplementation(libs.sonar.plugin.api)
2728

28-
testRuntimeOnly(testLibs.junit.engine)
2929
implementation(project(":sonar-kotlin-external-linters"))
3030
}
3131

0 commit comments

Comments
 (0)