Added sonarcloud config.

This commit is contained in:
Erik C. Thauvin 2019-04-01 19:28:38 -07:00
parent e51dd093d9
commit f1d712816e
4 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View file

@ -9,6 +9,7 @@
.kobalt
.nb-gradle
.project
.scannerwork
.settings
.vscode/*
*.code-workspace

View file

@ -1,7 +1,15 @@
language: java
dist: trusty
addons:
sonarcloud:
organization: "ethauvin-github"
script:
- sonar-scanner
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
- chmod +x gradlew

View file

@ -5,6 +5,7 @@ plugins {
id 'com.github.ben-manes.versions' version '0.21.0'
id 'net.thauvin.erik.gradle.semver' version '0.9.9-beta'
id 'com.github.spotbugs' version '1.7.1'
id 'org.sonarqube' version '2.7'
}
import com.github.spotbugs.SpotBugsTask

2
sonar-project.properties Normal file
View file

@ -0,0 +1,2 @@
sonar.projectKey=ethauvin_semver
sonar.sourceEncoding=UTF-8