Skip to content

Commit

Permalink
gradle-plugin: fix incorrect dependencies related to SarifReportMerge…
Browse files Browse the repository at this point in the history
…Task (#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.
  • Loading branch information
petertrr committed Jul 29, 2022
1 parent 2a14294 commit d354d88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions diktat-gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.github.detekt.sarif4k</groupId>
<artifactId>sarif4k</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ abstract class SarifReportMergeTask : DefaultTask() {

if (sarifReports.isEmpty()) {
logger.warn("Cannot perform merging of SARIF reports because no matching files were found; " +
"Is SARIF reporter active?"
"is SARIF reporter active?"
)
return
}
Expand Down

0 comments on commit d354d88

Please sign in to comment.