Search Gradle plugins

Version 1.0.0-beta.15

Created 17 May 2023.

Sonarlint static code analysis using stand-alone Sonarlint engine, for Java, Kotlin, Scala and Node.js projects. But other languages are also possible to lint like Ruby and Golang.
It is possible to include and exclude rules and also list the rules in the Sonarlist plugins you depend on.
The plugin can produce Spotbugs compatible XML reports and also SARIF which can be used by Github actions, Jenkins, AWS CodeCatalyst and Azure DevOps.
Min Gradle version 7.0.

Using the plugins DSL:

plugins {
  id("se.solrike.sonarlint") version "1.0.0-beta.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("se.solrike.sonarlint:sonarlint-gradle-plugin:1.0.0-beta.15")
  }
}

apply(plugin = "se.solrike.sonarlint")

Using the plugins DSL:

plugins {
  id "se.solrike.sonarlint" version "1.0.0-beta.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "se.solrike.sonarlint:sonarlint-gradle-plugin:1.0.0-beta.15"
  }
}

apply plugin: "se.solrike.sonarlint"

Learn how to apply plugins to subprojects