Gradle + Springboot + Jacoco offline模式+ SonarQube搭建
1.先新建一个常规web项目,有三个子模块:
2.主要文件:gradle.properties,build.gradle,jacoco.gradle
gradle.properties文件:
定义了一些全局变量,如项目版本,springboot版本,sonar的账号密码等一些内容。
springbootVersion=2.3.2.RELEASE
projectVersion=1.0-SNAPSHOT
#sonarQube 配置
systemProp.sonar.host.url=http://192.
原创
2021-06-28 17:13:58 ·
2483 阅读 ·
1 评论