Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 (#2852)

This commit is contained in:
dependabot[bot] 2023-01-17 23:53:19 +00:00 коммит произвёл GitHub
Родитель 017157eedc
Коммит 4bb04ba53c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 17 добавлений и 4 удалений

Просмотреть файл

@ -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