Move test tasks config to root build.gradle

This commit is contained in:
Mikołaj Pich 2019-11-17 17:32:58 +01:00
parent c6d8dd50a2
commit bf17cf1dd6
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
5 changed files with 6 additions and 20 deletions

View file

@ -9,5 +9,5 @@ indent_size=4
indent_size=2 indent_size=2
[*.{kt,kts}] [*.{kt,kts}]
disabled_rules=import-ordering disabled_rules=import-ordering,no-wildcard-imports
max_line_length=177 max_line_length=177

View file

@ -69,6 +69,10 @@ allprojects {
} }
} }
test {
testLogging.showStandardStreams = false
}
task sourcesJar(type: Jar, dependsOn: classes) { task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources' classifier = 'sources'
from sourceSets.main.allSource from sourceSets.main.allSource

View file

@ -16,12 +16,3 @@ dependencies {
implementation "com.squareup.retrofit2:retrofit:$retrofit" implementation "com.squareup.retrofit2:retrofit:$retrofit"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit" implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit"
} }
jacocoTestReport {
reports {
xml.enabled true
}
}
test {
testLogging.showStandardStreams = true
}

View file

@ -1,8 +1,8 @@
plugins { plugins {
id 'java' id 'java'
id 'org.jetbrains.kotlin.jvm' id 'org.jetbrains.kotlin.jvm'
id 'jacoco'
id 'maven' id 'maven'
id 'jacoco'
// id 'com.jfrog.bintray' version '1.8.4' // id 'com.jfrog.bintray' version '1.8.4'
} }

View file

@ -9,12 +9,3 @@ dependencies {
implementation project(":mobile") implementation project(":mobile")
implementation project(":scrapper") implementation project(":scrapper")
} }
jacocoTestReport {
reports {
xml.enabled true
}
}
test {
testLogging.showStandardStreams = true
}