Where is the new SonarQube Gradle Plugin?

后端 未结 1 1659
故里飘歌
故里飘歌 2021-01-25 07:20

Having recently upgraded from a previous version of Gradle, I started getting a warning that I should use the official SonarQube plugin:

The \'sonar-runne

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-25 08:13

    We got the plugin into Gradle by adding

    classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:1.2"

    to buildscript dependencies. We then added

    apply plugin: 'org.sonarqube'

    to activate it. Our local Artifactory instance is set up to proxy jCenter and mavenCentral.

    0 讨论(0)
提交回复
热议问题