Search Gradle plugins

Version 1.0.0-beta.8

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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("se.solrike.sonarlint:se.solrike.sonarlint.gradle.plugin:1.0.0-beta.8")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("se.solrike.sonarlint")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("se.solrike.sonarlint:se.solrike.sonarlint.gradle.plugin:1.0.0-beta.8")
      }
    }
    
    apply(plugin = "se.solrike.sonarlint")
  • Applying plugins to all subprojects .