what does this mean? I'm trying to update the depe...
# community-support
c
what does this mean? I'm trying to update the dependency-analysis plugin, but I"m getting a failure on all of my sub projects. https://scans.gradle.com/s/wljc2x27eysl6/dependencies?focusedDependency=WzAsMSwxNzI0L[…]View=dependencies_or_failure&toggled=W1swXSxbMCwwXSxbMCwxXV0
Copy code
No matching variant of project :app-core was found. The consumer was configured to find a component of category 'dependency-analysis', as well as attribute 'dagp.internal.artifacts' with value 'resolved-deps' but:
  - Variant 'apiElements':
      - Incompatible because this component declares a library and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'coverageDataElementsForTest':
      - Incompatible because this component declares a component of category 'verification' and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'javadocElements':
      - Incompatible because this component declares documentation and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'mainSourceElements':
      - Incompatible because this component declares a component of category 'verification' and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'runtimeElements':
      - Incompatible because this component declares a library and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'sourcesElements':
      - Incompatible because this component declares documentation and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'testFixturesApiElements':
      - Incompatible because this component declares a library and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'testFixturesRuntimeElements':
      - Incompatible because this component declares a library and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
  - Variant 'testResultsElementsForTest':
      - Incompatible because this component declares a component of category 'verification' and the consumer needed a component of category 'dependency-analysis'
      - Other compatible attribute:
          - Doesn't say anything about dagp.internal.artifacts (required 'resolved-deps')
1
v
From the top of my head I'd say that version requires that you apply the plugin to all subprojects but you didn't.
Maybe you can instead exclude some projects from analysis or similar 🤷‍♂️
c
definitely a change from v1... but didn't see any migration docs 😕
v
Well, the readme still says you can apply it to only selected subprojects. Maybe you hit a bug
c
quite possibly, I reported another one for the new buildhealth settings plugin
I think maybe this wasn't tested with
buildSrc
...
but I have it working now
once I added it to everyting with buildSrc
although I have new issues reported which seem ... wrong
reason I speculate that is zero problems in my mono project repo