代码才用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
最后效果
原文地址:https://www.cnblogs.com/leiziv5/p/10076732.html
时间: 2024-11-09 20:00:23