Search Gradle plugins

se.solrike.sonarlint

SonarLint static code analysis using stand-alone SonarLint engine, for Java, Kotlin and Node projects. Min Gradle version 7.0.

https://github.com/Lucas3oo/sonarlint-gradle-plugin

Version 1.0.0-beta.8 (latest)

Created 29 November 2022.

Sonarlint static code analysis using stand-alone Sonarlint engine, for Java, Kotlin, Scala and Node projects. But other languages are also possible to lint.
It is possible to include and exclude rules and also list the rules in the Sonarlist plugins you depend on.
Min Gradle version 7.0.

Using the plugins DSL:

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

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.8"
  }
}

apply plugin: "se.solrike.sonarlint"

Using the plugins DSL:

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

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.8")
  }
}

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

Learn how to apply plugins to subprojects