You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
io.github.detekt.sarif4k:sarif4k:0.0.1 uses the old kotlinx-serialization which leads to error in diktat (on runtime):
Exception in thread "main" java.lang.NoSuchMethodError: 'kotlinx.serialization.modules.SerializersModule kotlinx.serialization.modules.SerializersModuleBuildersKt.EmptySerializersModule()'
at com.charleskorn.kaml.Yaml.<init>(Yaml.kt:39)
at com.charleskorn.kaml.Yaml.<clinit>(Yaml.kt:98)
at org.cqfn.diktat.common.config.rules.RulesConfigReader$yamlSerializer$2.invoke(RulesConfigReader.kt:79)
at org.cqfn.diktat.common.config.rules.RulesConfigReader$yamlSerializer$2.invoke(RulesConfigReader.kt:79)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at org.cqfn.diktat.common.config.rules.RulesConfigReader.getYamlSerializer(RulesConfigReader.kt:79)
at org.cqfn.diktat.common.config.rules.RulesConfigReader.parseResource(RulesConfigReader.kt:89)
at org.cqfn.diktat.common.config.rules.RulesConfigReader.parseResource(RulesConfigReader.kt:78)
at org.cqfn.diktat.common.config.reader.JsonResourceConfigReader.readResource(JsonResourceConfigReader.kt:34)
at org.cqfn.diktat.ruleset.rules.DiktatRuleSetProvider.get(DiktatRuleSetProvider.kt:138)
at com.pinterest.ktlint.internal.LoadRuleProvidersKt.getLegacyRuleProvidersFromJar(LoadRuleProviders.kt:91)
at com.pinterest.ktlint.internal.LoadRuleProvidersKt.getRuleProvidersFromJar(LoadRuleProviders.kt:60)
at com.pinterest.ktlint.internal.LoadRuleProvidersKt.loadRuleProviders(LoadRuleProviders.kt:32)
at com.pinterest.ktlint.internal.KtlintCommandLine.run(KtlintCommandLine.kt:229)
at com.pinterest.ktlint.Main.main(Main.kt:27)
It's due to that dependencies from ktlint take preference.
io.github.detekt.sarif4k:sarif4k:0.0.1
uses the oldkotlinx-serialization
which leads to error indiktat
(on runtime):It's due to that dependencies from
ktlint
take preference.Version of
kotlinx-serialization
upgraded in detekt/sarif4k#3.Can we upgrade version of sarif4k to this version?
The text was updated successfully, but these errors were encountered: