Fix rules for 1.18.0
This commit is contained in:
parent
1cf8f2084f
commit
7d09e693f4
|
|
@ -17,7 +17,7 @@ plugins {
|
|||
// https://docs.spring.io/dependency-management-plugin/docs/current/reference/html/
|
||||
id("io.spring.dependency-management")
|
||||
|
||||
id("io.gitlab.arturbosch.detekt").version("1.18.0")
|
||||
id("io.gitlab.arturbosch.detekt")
|
||||
id("org.cqfn.diktat.diktat-gradle-plugin")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ complexity:
|
|||
threshold: 40
|
||||
LongParameterList:
|
||||
active: true
|
||||
threshold: 10
|
||||
functionThreshold: 10
|
||||
ignoreDefaultParameters: false
|
||||
MethodOverloading:
|
||||
active: false
|
||||
|
|
@ -81,7 +81,6 @@ complexity:
|
|||
NamedArguments:
|
||||
active: false
|
||||
threshold: 2
|
||||
ignoreArgumentsMatchingNames: false
|
||||
NestedBlockDepth:
|
||||
active: true
|
||||
threshold: 4
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
kotlin.code.style=official
|
||||
springBootVersion=2.5.3
|
||||
springDependencyManagementVersion=1.0.11.RELEASE
|
||||
detektGradlePluginVersion=1.18.0
|
||||
diktatGradlePluginVersion=1.2.5
|
||||
kotlinVersion=1.6.21
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@ pluginManagement {
|
|||
val kotlinVersion: String by settings
|
||||
val springBootVersion: String by settings
|
||||
val springDependencyManagementVersion: String by settings
|
||||
val detektGradlePluginVersion: String by settings
|
||||
val diktatGradlePluginVersion: String by settings
|
||||
|
||||
val versions = listOf(
|
||||
"org.jetbrains.kotlin" to kotlinVersion,
|
||||
"org.springframework.boot" to springBootVersion,
|
||||
"io.spring.dependency-management" to springDependencyManagementVersion,
|
||||
"io.gitlab.arturbosch.detekt" to detektGradlePluginVersion,
|
||||
"org.cqfn.diktat.diktat-gradle-plugin" to diktatGradlePluginVersion,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue