question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ktLint 0.34 changes not compatible with spotless

See original GitHub issue

Last version of ktLint 0.34 seems to have changes that are not compatible with spotless.

Execution failed for task ':utils:spotlessKotlin'.
> java.lang.NoSuchMethodException: com.pinterest.ktlint.core.KtLint.format(java.lang.String, java.lang.Iterable, java.util.Map, kotlin.jvm.functions.Function2)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
nedtwiggcommented, Oct 7, 2019

Fixed in in 3.25.0.

2reactions
ZacSweerscommented, Oct 6, 2019

I’m working on a PR for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ktlint
Features¶ · No configuration required ktlint aims to capture the official Kotlin coding conventions and Android Kotlin Style Guide. · Rule sets ·....
Read more >
android - Problems running ktlint from module - Stack Overflow
i tried, and get another error with this changes: ERROR: Failed to resolve: com.github. · use this library for ktlint "com.pinterest:ktlint:0.34.
Read more >
jeremymailen / ktlint Download - JitPack
While this is not strictly necessary it makes Intellij IDEA's built-in formatter produce 100% ktlint-compatible code. Option #1 (recommended). To change the ...
Read more >
Ktlint: An Anti-Bikeshedding Kotlin Linter with Built-in Formatter
This rule does not apply in a number of situations. ... Use ktlint to change the code style of a single project with...
Read more >
diffplug - Bountysource
Created 3 years ago in diffplug/spotless with 3 comments. ... if not impossible, to use plugins which depend on different incompatible versions of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found