From 129a86fa562b50c9ca43579dfd598596567dae53 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Tue, 23 Feb 2021 11:15:04 +0100 Subject: Extract Jacoco convention from Kotlin library convention This commit extracts the configuration for Jacoco into a separate convention file. --- .../src/main/kotlin/kotlin-library-convention.gradle.kts | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'simulator/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts') diff --git a/simulator/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts b/simulator/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts index f9d8a966..405235f0 100644 --- a/simulator/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts +++ b/simulator/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts @@ -28,7 +28,6 @@ plugins { `java-library` kotlin("jvm") id("org.jlleitschuh.gradle.ktlint") - jacoco } /* Project configuration */ @@ -45,10 +44,6 @@ kotlin { explicitApi() } -jacoco { - toolVersion = "0.8.6" -} - tasks.withType().configureEach { kotlinOptions.jvmTarget = "1.8" kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn" @@ -58,10 +53,3 @@ tasks.test { useJUnitPlatform() reports.html.isEnabled = true } - - -tasks.jacocoTestReport { - reports { - html.isEnabled = true - } -} -- cgit v1.2.3