Skip to content

Issue with upgrading ktlint from v1.4.1 to v1.5.0 or v1.6.0 #1956

@ashutosh7107

Description

@ashutosh7107

I am having ktlint v1.4.1 in my project with kotlin v2.0.21 and diktat v2.0.0 and it was working fine but now I wanted to upgrade my ktlint v1.5.0 or 1v.6.0 with diktat v2.0.0 and kotlin v2.0.21 and it is failing with below error. Any idea? How to resolve this error or will that not work due to compatibility issue?

:detekt-rules:main: Could not resolve org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.21.
Required by:
    project :detekt-rules > com.saveourtool.diktat:diktat-rules:2.0.0
    project :detekt-rules > com.saveourtool.diktat:diktat-rules:2.0.0 > com.saveourtool.diktat:diktat-api:2.0.0
 
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions