Files
detekt/gradle.properties
M Schalk 76c2bd2c02 Fix TimeoutCancellationException - downgrade Spek (#1903)
Spek 2.0.3 introduced test timeouts.
(https://github.com/spekframework/spek/releases/tag/2.0.3)

The default timeout is 10 seconds per test case.
Detekt's rule-tests easily reach this limit when

1. setting up 8 `KotlinScriptEngine's` for compiling test snippets.
2. the (CI) machines are under heavy load

This results in the following exception as happened in commit 9691e0d.
kotlinx.coroutines.TimeoutCancellationException: 
Timed out waiting for 10000 ms

Unfortunately, Spek doesn't allow to set a global timeout (yet).
See: https://github.com/spekframework/spek/issues/769
Setting a custom timeout on each test block is not what we want.
Therefore, this commit downgrades Spek to version 2.0.2.
2019-09-08 23:20:47 +10:00

31 lines
603 B
Properties

detektVersion=1.0.1
# Project dependencies
assertjVersion=3.13.2
jcommanderVersion=1.78
junitPlatformVersion=1.4.1
ktlintVersion=0.34.2
reflectionsVersion=0.9.11
spekVersion=2.0.2
yamlVersion=1.24
# Gradle plugins
artifactoryVersion=4.9.8
bintrayVersion=1.8.4
buildScanVersion=2.4
dokkaVersion=0.9.18
gradleVersionsPluginVersion=0.22.0
jacocoVersion=0.8.4
kotlinVersion=1.3.50
shadowVersion=5.1.0
sonarQubeVersion=2.7
# Gradle version
gradleVersion=5.6
kotlin.code.style=official
systemProp.sonar.host.url=http://localhost:9000
systemProp.detektVersion=detektVersion
systemProp.file.encoding=UTF-8