Fix unit tests + Version Determination (#1055)

* Fixed unit tests and determine chunksStretched based on package version

* Fixed requested changes
This commit is contained in:
Pierre Maurice Schwang
2021-05-07 23:47:35 +02:00
committed by GitHub
parent 5ebc31ce88
commit 036e8473b4
7 changed files with 214 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
import org.ajoberstar.grgit.Grgit
import java.time.format.DateTimeFormatter
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
logger.lifecycle("""
*******************************************
@@ -51,6 +53,15 @@ allprojects {
tasks.withType(JavaCompile::class) {
options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
}
tasks.withType(Test::class) {
testLogging {
events(FAILED)
exceptionFormat = FULL
showExceptions = true
showCauses = true
showStackTraces = true
}
}
}
}