Skip to content

detekt 1.12.0 and org.springframework.boot 2.2.6.RELEASE clash #3058

Closed
@userlarsb

Description

@userlarsb

Expected Behavior

The build should generate an executable jar and run code analysis is done with detekt.

Observed Behavior

The build fails with

Execution failed for task ':detekt'. kotlin.jvm.internal.FunctionReferenceImpl.(ILjava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V``

Steps to Reproduce

That's a tough one. I tried it out with a dummy spring boot kotlin project from start.spring.io and this works. That must be some strange dependency clash. (That's probably not very helpful :( )

Context

We are creating a graphql backend using sprint boot and Kotlin as a PoC (So very small code base).

Your Environment

  • Version of detekt used: 1.12.0

Gradle 6.4.1

Build time: 2020-05-15 19:43:40 UTC
Revision: 1a04183c502614b5c80e33d603074e0b4a2777c5

Kotlin: 1.3.71
Groovy: 2.5.10
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 11.0.8 (Oracle Corporation 11.0.8+10-LTS)
OS: Linux 4.15.0-43-generic amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions