Skip to content

Commit 55bf1d2

Browse files
committed
chore: deprecated features removed
1 parent 965f290 commit 55bf1d2

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

build.gradle

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,8 @@ allprojects {
4040
typesafeConfigVersion = "1.4.5"
4141
monixVersion = "3.4.0" // just for tests!
4242
}
43-
44-
/*
45-
* Report failed test at the end of the run:
46-
* */
47-
48-
// add a collection to track failedTests
49-
ext.failedTests = []
50-
51-
// add a testlistener to all tasks of type Test
52-
tasks.withType(Test) {
53-
afterTest { TestDescriptor descriptor, TestResult result ->
54-
if (result.resultType == TestResult.ResultType.FAILURE) {
55-
failedTests << ["${descriptor.className}::${descriptor.name}"]
56-
}
57-
}
58-
}
59-
60-
// print out tracked failed tests when the build has finished
61-
gradle.buildFinished {
62-
if (!failedTests.empty) {
63-
println "\n\n----------------------------------------"
64-
println "Failed tests for ${project.name}:"
65-
failedTests.each { failedTest ->
66-
println " - ${failedTest}"
67-
}
68-
println "----------------------------------------"
69-
println "\n"
70-
}
71-
}
7243
}
7344

74-
println("Scala version: ${scalaVersion} (${scalaLibraryVersion})") // will display the version once, when configuring root
7545

7646
subprojects {
7747
apply plugin: 'java'
@@ -142,12 +112,6 @@ subprojects {
142112
scalaCompileOptions.additionalParameters = ['-target:jvm-1.8']
143113
}
144114

145-
test {
146-
testLogging {
147-
showStandardStreams = true
148-
}
149-
}
150-
151115
repositories {
152116
mavenCentral()
153117
}

0 commit comments

Comments
 (0)