From 7b3f25eff30c28fa0eaa7fb55fe083857c32dd53 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sun, 22 Jan 2017 17:55:03 +0100 Subject: [PATCH] Fixing jacoco reports directory and adding Javadoc plugin --- SpringJava/Gradle/build.gradle | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/SpringJava/Gradle/build.gradle b/SpringJava/Gradle/build.gradle index 8f4070a..3fbb125 100644 --- a/SpringJava/Gradle/build.gradle +++ b/SpringJava/Gradle/build.gradle @@ -94,6 +94,9 @@ subprojects { mavenCentral() maven { url 'https://plugins.gradle.org/m2/' } } + dependencies { + classpath group: "info.solidsoft.gradle.pitest", name: "gradle-pitest-plugin", version: "1.1.4" + } } jar { @@ -102,8 +105,9 @@ subprojects { } } - apply plugin: 'jacoco' + // Coverage + apply plugin: 'jacoco' apply from: "$rootProject.projectDir/build-test.gradle" apply from: "$rootProject.projectDir/build-integTest.gradle" @@ -116,9 +120,15 @@ subprojects { reports { xml.enabled false csv.enabled false - html.destination "${buildDir}/jacoco/" + html.destination "${buildDir}/reports/jacoco/" } } + + javadoc { + source = sourceSets.main.allJava + classpath = configurations.compile + } + } -- 2.1.4