Skip to content

Commit d354d88

Browse files
authored
gradle-plugin: fix incorrect dependencies related to SarifReportMergeTask (#1485)
### What's done: * Added missing dependency in `diktat-gradle-plugin/pom.xml` * Fixed typo in logging Part of #1484, fixes compilation of gradle scripts for projects that don't have `kotlinx-serialization-core` on their plugin classpath.
1 parent 2a14294 commit d354d88

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

diktat-gradle-plugin/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
</exclusion>
3737
</exclusions>
3838
</dependency>
39+
<dependency>
40+
<groupId>io.github.detekt.sarif4k</groupId>
41+
<artifactId>sarif4k</artifactId>
42+
<version>0.0.1</version>
43+
</dependency>
3944
</dependencies>
4045

4146
<build>

diktat-gradle-plugin/src/main/kotlin/org/cqfn/diktat/plugin/gradle/tasks/SarifReportMergeTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ abstract class SarifReportMergeTask : DefaultTask() {
5858

5959
if (sarifReports.isEmpty()) {
6060
logger.warn("Cannot perform merging of SARIF reports because no matching files were found; " +
61-
"Is SARIF reporter active?"
61+
"is SARIF reporter active?"
6262
)
6363
return
6464
}

0 commit comments

Comments
 (0)