Skip to content

Misdetected cycle between :extractIncludeTestProto and :compileKotlin #624

Closed

Description

After upgrading to version 0.9.1 when we run ./gradlew build task inside a Kotlin project we get the following error:

Misdetected cycle between :extractIncludeTestProto and :compileKotlin

Here is our plugins definition in the build.gradle.kts file:

plugins {
    val kotlinVersion = "1.7.20"
    kotlin("jvm") version kotlinVersion
    kotlin("plugin.spring") version kotlinVersion
    kotlin("kapt") version kotlinVersion

    id("idea")
    id("jacoco")
    id("application")

    id("com.github.ben-manes.versions") version "0.42.0" // https://plugins.gradle.org/plugin/com.github.ben-manes
    // .versions
    id("com.google.cloud.tools.jib") version "3.3.0" // https://plugins.gradle.org/plugin/com.google.cloud.tools.jib
    id("com.google.protobuf") version "0.9.1" // https://plugins.gradle.org/plugin/com.google.protobuf

    id("io.gitlab.arturbosch.detekt") version "1.21.0" // https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt

    id("nebula.resolution-rules") version "9.0.0" // https://plugins.gradle.org/plugin/nebula.resolution-rules

    id("org.ajoberstar.grgit") version "5.0.0" // https://plugins.gradle.org/plugin/org.ajoberstar.grgit
    id("org.flywaydb.flyway") version "9.4.0" // https://plugins.gradle.org/plugin/org.flywaydb.flyway
    id("org.jlleitschuh.gradle.ktlint") version "11.0.0" // https://plugins.gradle.org/plugin/org.jlleitschuh.gradle.ktlint
    id("org.owasp.dependencycheck") version "7.2.1" // https://plugins.gradle.org/plugin/org.owasp.dependencycheck
    id("org.sonarqube") version "3.4.0.2513" // https://plugins.gradle.org/plugin/org.sonarqube
    id("org.springframework.boot") version "2.7.4" // https://plugins.gradle.org/plugin/org.springframework.boot
}

Any help to fix it would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions