This message was deleted.
# develocity
s
This message was deleted.
l
Hi Lennart, This issue usually indicates that you are hitting a bug in dependency resolution. Some of these however do not affect visibly project execution for reason too long to detail here. But having something like the build scan plugin collecting the dependency resolution events can change that. You will find similar issues on our public bug tracker. They are unfortunately hard to fix without a reproducer. On your end, you can try to reproduce the problem while resolving
:testdaten:gdvKfzSkripte
in your project through the use of the
dependencies
task and see if it might reproduce the problem. If it does, tweaking dependency declaration ordering or adding constraints could make the issue go away as a workaround on your side.
l
Hi Louis, thanks for your quick response! Meanwhile I figured out what causes this issue. Inside a subproject we configure the processResoruces-Task to unzip the zip-Archive of the affected configuration:
Copy code
tasks.named('processResources').configure {
    dependsOn configurations.gdvKfzSkripte

    into ('scripte_testdaten/kfz_gdv') {
        from (zipTree(configurations.gdvKfzSkripte.singleFile)) {
            exclude "META-INF/**"
        }
    }
}
I solved the issue by not using the Method zipTree:
Copy code
tasks.named('processResources').configure {
    dependsOn configurations.gdvKfzSkripte

    into ('scripte_testdaten/kfz_gdv') {
        from (configurations.gdvKfzSkripte) {
            exclude "META-INF/**"
        }
    }
}