Move test tasks config to root build.gradle
This commit is contained in:
parent
c6d8dd50a2
commit
bf17cf1dd6
5 changed files with 6 additions and 20 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue