Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 (#2852)
This commit is contained in:
Родитель
017157eedc
Коммит
4bb04ba53c
|
@ -3,7 +3,7 @@ charset = utf-8
|
|||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = false
|
||||
insert_final_newline = true
|
||||
max_line_length = 100
|
||||
tab_width = 2
|
||||
ij_continuation_indent_size = 4
|
||||
|
|
|
@ -23,5 +23,7 @@ dependencies {
|
|||
}
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
jvmArgs("-Dapplicationinsights.internal.methods.include=io.opentelemetry.javaagent.instrumentation.methods.ai.MethodTest\$ConfigTracedCallable[call];io.opentelemetry.javaagent.instrumentation.methods.ai.MethodTest\$ConfigTracedCompletableFuture[getResult]")
|
||||
jvmArgs(
|
||||
"-Dapplicationinsights.internal.methods.include=io.opentelemetry.javaagent.instrumentation.methods.ai.MethodTest\$ConfigTracedCallable[call];io.opentelemetry.javaagent.instrumentation.methods.ai.MethodTest\$ConfigTracedCompletableFuture[getResult]"
|
||||
)
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ dependencies {
|
|||
implementation(gradleApi())
|
||||
|
||||
// When updating, update above in plugins too
|
||||
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.12.1")
|
||||
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.13.0")
|
||||
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.13")
|
||||
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
|
||||
implementation("com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.12.2")
|
||||
|
|
|
@ -9,7 +9,18 @@ spotless {
|
|||
target("src/**/*.java")
|
||||
}
|
||||
kotlinGradle {
|
||||
ktlint().editorConfigOverride(mapOf("indent_size" to "2", "continuation_indent_size" to "2", "disabled_rules" to "no-wildcard-imports"))
|
||||
ktlint().editorConfigOverride(mapOf(
|
||||
"indent_size" to "2",
|
||||
"continuation_indent_size" to "2",
|
||||
"max_line_length" to "160",
|
||||
"ktlint_standard_no-wildcard-imports" to "disabled",
|
||||
// ktlint does not break up long lines, it just fails on them
|
||||
"ktlint_standard_max-line-length" to "disabled",
|
||||
// ktlint makes it *very* hard to locate where this actually happened
|
||||
"ktlint_standard_trailing-comma-on-call-site" to "disabled",
|
||||
// also very hard to find out where this happens
|
||||
"ktlint_standard_wrapping" to "disabled"
|
||||
))
|
||||
}
|
||||
format("misc") {
|
||||
// not using "**/..." to help keep spotless fast
|
||||
|
|
Загрузка…
Ссылка в новой задаче