Added sonarcloud config.
This commit is contained in:
parent
e51dd093d9
commit
f1d712816e
4 changed files with 14 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,6 +9,7 @@
|
||||||
.kobalt
|
.kobalt
|
||||||
.nb-gradle
|
.nb-gradle
|
||||||
.project
|
.project
|
||||||
|
.scannerwork
|
||||||
.settings
|
.settings
|
||||||
.vscode/*
|
.vscode/*
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|
|
@ -1,4 +1,12 @@
|
||||||
language: java
|
language: java
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
|
addons:
|
||||||
|
sonarcloud:
|
||||||
|
organization: "ethauvin-github"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- sonar-scanner
|
||||||
|
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
|
@ -5,6 +5,7 @@ plugins {
|
||||||
id 'com.github.ben-manes.versions' version '0.21.0'
|
id 'com.github.ben-manes.versions' version '0.21.0'
|
||||||
id 'net.thauvin.erik.gradle.semver' version '0.9.9-beta'
|
id 'net.thauvin.erik.gradle.semver' version '0.9.9-beta'
|
||||||
id 'com.github.spotbugs' version '1.7.1'
|
id 'com.github.spotbugs' version '1.7.1'
|
||||||
|
id 'org.sonarqube' version '2.7'
|
||||||
}
|
}
|
||||||
|
|
||||||
import com.github.spotbugs.SpotBugsTask
|
import com.github.spotbugs.SpotBugsTask
|
||||||
|
|
2
sonar-project.properties
Normal file
2
sonar-project.properties
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sonar.projectKey=ethauvin_semver
|
||||||
|
sonar.sourceEncoding=UTF-8
|
Loading…
Add table
Add a link
Reference in a new issue