Skip to content

Commit

Permalink
update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas3oo committed Aug 16, 2024
1 parent 55b77ea commit 8874b12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ and `org.sonarsource.kotlin:sonar-kotlin-plugin:2.20.0.4382` and any additionall
Typical `gradle.build.kts`:

```Gradle Kotlin DSL
import se.solrike.sonarlint.*
plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.7.21"
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/se/solrike/sonarlint/Sonarlint.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ public Sonarlint() {
.set(artifactProvider.map(p -> p.stream().map(ResolvedArtifactResult::getFile).collect(Collectors.toSet())));
}

/**
* Execute the Sonarlint analysis on the source code.
*/
@TaskAction
public void run() {
Logger logger = getLogger();
Expand Down

0 comments on commit 8874b12

Please sign in to comment.