Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

adding coverage reports and sonarqube plugin #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions complete/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@ apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'

buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.saliman:gradle-cobertura-plugin:2.5.4"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2"
}
}

apply plugin: "net.saliman.cobertura"
apply plugin: 'org.sonarqube'

cobertura {
coverageFormats = [ 'xml' ]
}

mainClassName = 'hello.HelloWorld'

// tag::repositories[]
Expand Down