Skip to content

Aggregator plugin #146

@s1ee

Description

@s1ee

Hi when I try to run the single task ./gradlew pitestDebug it works but when I run it with the aggregator I get an error:

`

  • What went wrong:
    A problem was found with the configuration of task ':feature:compileReleaseKotlin' (type 'KotlinCompile').

    Reason: Task ':feature:pitestDebug' uses this output of task ':feature:compileReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
    1. Declare task ':feature:compileReleaseKotlin' as an input of ':feature:pitestDebug'.
    2. Declare an explicit dependency on ':feature:compileReleaseKotlin' from ':feature:pitestDebug' using Task#dependsOn.
    3. Declare an explicit dependency on ':feature:compileReleaseKotlin' from ':feature:pitestDebug' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.7/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
    `

Adding a task

`
tasks.named("pitestDebug") {

}
`

gives me an error Task with name 'pitestDebug' not found in project

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions