代码才用https://github.com/liwanlei/bilibili-android-client
配置:
build.gralde配置
buildscript { repositories { maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5" } } plugins { # 添加插件信息 id "org.sonarqube" version "2.6-rc1" } apply plugin: "org.sonarqube"
执行
gradle sonarqube -Dsonar.host.url=http://localhost:9000 -Dsonar.login=sadsadsad
最后效果