Search Gradle plugins

Version 1.2

Created 15 January 2016.

Gradle plugin for running SonarQube analysis.

Using the plugins DSL:

plugins {
  id "org.sonarqube" version "1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:1.2"
  }
}

apply plugin: "org.sonarqube"

Using the plugins DSL:

plugins {
  id("org.sonarqube") version "1.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:1.2")
  }
}

apply(plugin = "org.sonarqube")

Learn how to apply plugins to subprojects