From bf17cf1dd625747937704a22606e2fe385817d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sun, 17 Nov 2019 17:32:58 +0100 Subject: [PATCH] Move test tasks config to root build.gradle --- .editorconfig | 2 +- build.gradle | 4 ++++ mobile/build.gradle | 9 --------- scrapper/build.gradle | 2 +- sdk/build.gradle | 9 --------- 5 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.editorconfig b/.editorconfig index c7a3a226..53dfe170 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,5 +9,5 @@ indent_size=4 indent_size=2 [*.{kt,kts}] -disabled_rules=import-ordering +disabled_rules=import-ordering,no-wildcard-imports max_line_length=177 diff --git a/build.gradle b/build.gradle index 1c76bcdd..a0b86115 100644 --- a/build.gradle +++ b/build.gradle @@ -69,6 +69,10 @@ allprojects { } } + test { + testLogging.showStandardStreams = false + } + task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource diff --git a/mobile/build.gradle b/mobile/build.gradle index dae97495..e0cf6462 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -16,12 +16,3 @@ dependencies { implementation "com.squareup.retrofit2:retrofit:$retrofit" implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit" } - -jacocoTestReport { - reports { - xml.enabled true - } -} -test { - testLogging.showStandardStreams = true -} diff --git a/scrapper/build.gradle b/scrapper/build.gradle index e3f457a9..95ee8131 100644 --- a/scrapper/build.gradle +++ b/scrapper/build.gradle @@ -1,8 +1,8 @@ plugins { id 'java' id 'org.jetbrains.kotlin.jvm' - id 'jacoco' id 'maven' + id 'jacoco' // id 'com.jfrog.bintray' version '1.8.4' } diff --git a/sdk/build.gradle b/sdk/build.gradle index 74286475..9c42c16f 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -9,12 +9,3 @@ dependencies { implementation project(":mobile") implementation project(":scrapper") } - -jacocoTestReport { - reports { - xml.enabled true - } -} -test { - testLogging.showStandardStreams = true -}